Difference between revisions of "Command/definecolor"
< Command
Jump to navigation
Jump to search
m (cleaned up) |
|||
Line 72: | Line 72: | ||
<code>\color</code> command. | <code>\color</code> command. | ||
− | To use hexadecimal colors you need to load the proper module first: | + | To use hexadecimal colors in mkii you need to load the proper module first: |
<texcode> | <texcode> | ||
Line 82: | Line 82: | ||
\definecolor[hex-red][h=FF0000] | \definecolor[hex-red][h=FF0000] | ||
</texcode> | </texcode> | ||
− | |||
− | |||
== Example == | == Example == |
Revision as of 10:23, 12 May 2010
\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
associates a name with a color, for later use with the
\color
command.
To use hexadecimal colors in mkii you need to load the proper module first:
\setupcolor[hex]
Then the colors can be specified with
\definecolor[hex-red][h=FF0000]