http://tex.stackexchange.com/questions/7032/good-way-to-make-textcircled-numbers
I used one of their solutions and added the color (red) to one of the
numbers. It may not be a very elegant solution (since you have to type
all the numbers, which is ok for 31 numbers but very inconvenient for
a larger interval), but I think it works for you.
Remember to declare the color package, you can read more about it at:
http://en.wikibooks.org/wiki/LaTeX/Colors
So, for 3 numbers only:
\documentclass{article}
\usepackage{tikz}
\usepackage{color}
\newcommand*\circled[1]{\tikz[baseline=(char.base)]{
\node[shape=circle,draw, inner sep=2pt] (char) {#1};}}
\begin{document}
\circled{1} \circled{\textcolor{red}{2}} \circled{3}
\end{document}
CornflowerBlue is a beautiful color... but I wonder why they made 68
standard color (http://en.wikibooks.org/wiki/LaTeX/Colors), I can't
see 68 different colors there.
Many of them look the same to me. It creeps me out.
Remember to declare the color package,
Hi
I think I should explain this better, I want the circle it self to
have numbers like a clock but with 31 number instead of 12 which are
on the clock and two of these 31 to be in a colour.
> The svgnames range is the 256 shades defined in the SVG spec, and so will be
> more familiar to software developers.
>
147... <http://www.december.com/html/spec/colorsvg.html>
They are also known as Netscape colours' names
<http://webdesign.about.com/od/colorcharts/l/bl_namedcolors.htm>
In fact they come from X11... (with some minor differences with sRGB)
<http://en.wikipedia.org/wiki/Web_colors#X11_color_names>
>>
>> Many of them look the same to me. It creeps me out.
>
>
> Don't view them in a web browser: most browsers use a defective colour model
> whose gamut is limited to the "web-safe" colours (it shouldn't be necessary
> these days, but screens have very poor colour resolution), so what you see
> is NOT what you get. Print or view the colours in the xcolor package
> documentation instead.
>
PS to read/print (use a good screen/printer-resolution to look)
http://www.math.harvard.edu/computing/latex/color.html
The 216 web-safe colours <http://html-color-codes.com/> are "safe" as
a common denominator for 256-colours dsplays and high-possible : they
should be rendered very similary to X11-colours or lower bits
resolution colours (do you remember those 16 or 32 colours we were
happy to produce old days?)
<http://en.wikipedia.org/wiki/Web_colors#HTML_color_names> and others
<http://www.graphviz.org/doc/info/colors.html#brewer>
p.s: if you can read french, have a look at
<http://fr.wikibooks.org/wiki/R%C3%A9daction_technique/De_l%27usage_des_couleurs_dans_un_document>
\documentclass{minimal}
\usepackage{tikz}
\usetikzlibrary{calc}
\usepackage{xcolor}
\begin{document}
\begin{centering}
% Define a few constants for easy configuration
\def\radius{4cm}
\def\labelrad{3.8cm}
\begin{tikzpicture}[scale=1]
% adding a subtle gray tone to add a bit of "personality"
\shade[shading=radial, inner color=white, outer color=gray!15] (0,0)
circle (\radius);
\draw (0,0) circle (\radius);
\foreach \x in {1,...,7}
\node[scale=0.5] (\x) at (360-11.6129032*\x+90:\labelrad) {\x};
\foreach \x in {8}
\node[scale=0.5, color=red] (\x) at (360-11.6129032*\x+90:\labelrad) {\x};
\foreach \x in {9, 10, ..., 17}
\node[scale=0.5] (\x) at (360-11.6129032*\x+90:\labelrad) {\x};
\foreach \x in {18}
\node[scale=0.5, color=red] (\x) at (360-11.6129032*\x+90:\labelrad) {\x};
\foreach \x in {19, 20, ..., 31}
\node[scale=0.5] (\x) at (360-11.6129032*\x+90:\labelrad) {\x};
\end{tikzpicture}
\end{centering}
\end{document}