Command/definecolor

From Wiki
< Command
Revision as of 12:37, 11 April 2010 by Maintenance script (talk) (Create reference page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Template:Reference Cleanup

\definecolor

Syntax

\definecolor[...][...,...=...,...]
[...] name
r text
g text
b text
c text
m text
y text
k text
s text
h text
t text
a text
p text
e text


Description

\definecolor associated a name with a color, for later use with the
\color command. 

To use hexadecimal colors you need to load the proper module first:

\setupcolor[hex]

Then the colors can be specified with

\definecolor[hex-red][h=FF0000]


Example

See also