\textcolor

Command in package simplemarkup.

Synopsis

\textcolor{color}{text}

Description

Outputs text in the color specified by color. The latter may be a color definition
in any format allowed by CSS. In particular, color names like "red", "green" can be used.
Another allowed format is "#RRGGBB" where RR, GG, BB are the hexadecimal RGB values of
the color in the range from 00 to FF. With the latter form, take care that the # is
escaped with a backslash, since # has a special meaning in Jmmtex (see second example).

Example 1

Lorem ipsum \textcolor{red}{dolor sit amet}, consectetuer adipiscing elit.

Result, as rendered by your browser

Lorem ipsum dolor sit amet, consectetuer adipiscing elit.

Example 2

Lorem ipsum \textcolor{\#1E90FF}{dolor sit amet}, consectetuer adipiscing elit.

Result, as rendered by your browser

Lorem ipsum dolor sit amet, consectetuer adipiscing elit.


This page is generated automatically and each change here will be replaced on a next update.

Add picture from clipboard (Maximum size: 500 MB)