Description
This tag specifies the color of text elements. NOTE: when using in styles, double the # sign, e.g. >co !##c20m20y0k10!<
Parameters and typographical expressions
1.Color name. This name should exist in the title color library.
You can specify a direct CMYK color using the syntax #cXmXyXkX, for example, >co !#c20m20y0k10!< sets the current color to 20% cyan, 20% magenta, 10% black. It is possible to specify the color components in any order and omit some of them - that is equivalent to set them to 0 - so that >co '#k10c20m20'< has the exact same effect of the previous example.
Tag Effects
Effects are visible in the WYSIWYG pane of the Articles main tab or on a page on the Pages main tab.
Type and scope
Can be inserted anywhere in text. Local for the paragraph where is inserted, therefore effects cease on the end of that paragraph. May be globalized, by appending the >default< tag after, but only before any printable character.
>co M<Quick brown fox is drawn in a color magenta. >co M<Quick >res<brown fox
>co "My color"< >co !My color!< If color name contains more words, it has to be enclosed in delimiters, e.g. exclamation mark, double straight quotes or single straight quotes. >co !#c20m20y0k10!< Sets the current color to 20% cyan, 20% magenta, 10% black. Please note that the color string has to be enclosed in delimiters, e.g. exclamation mark, double straight quotes or single straight quotes.
|
See also
Add edition/page/text attributes and access them in tags