Changes

Jump to navigation Jump to search
9 bytes added ,  16:38, 27 August 2022
→‎The basics: - another typo
Colors are defined as vectors with three components: a red, green and blue one. Like pens, colors have a {{code|with...}} command:
withcolor (.4,.5,.,6)
You can define color variables like so:
color darkred ; darkred := (.625,0.,0) ;
% use the color
withcolor darkred
<context source=yes>
% MKII% \runMPgraphicstrue
\setupcolors[state=start]
\starttext
174

edits

Navigation menu