On 11/19/2009 04:16 AM, nikunj . wrote:
Hi,
I am using 'color' package. How do I define more colors ? All I know is that
I can use \definecolor{name}{model}{color-spec} in the preamble.
Can someone guide me with the color spec thing? Isn' t there a
comprehensive list of such color-specs ?
It depends on the model. But the simplest thing is to use the rgb model,
then you can do:
\definecolor{MyColor}{rgb}{1.0,0.6,0.6}
which would give you a peachy color. Values are 0-->1, rather than
0-->255, etc.
Other models include cmyk (four numbers) and gray (one).
rh