From Wiki
Jump to navigation Jump to search



The command \color is used to typeset text with a color.




Typesets the {content} in [color].

Some color names are preloaded (like the six primary and secondary colors, as well as black and white). For other colors, you can define your own color using \definecolor, or load one of the color definition files using \usecolors.


Example 1

This text is \color[green]{green}.


  • By Taco on 2021-11-09T13:37:50+0100:

In MkII, if there was no 'text' argument given (the character following the ']' is not an '{'), then the command behaved like a plain TeX font switch: it applied from here to the end of the current grouping level. This is no longer the case.

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: