Difference between revisions of "Colors"

From wiki.fine.cz
Jump to navigation Jump to search
 
Line 2: Line 2:


====Hexadecimal definition====
====Hexadecimal definition====
Colors are defined in the form $00BBGGRR, where <code>RR</code> (red), <code>GG</code> (green) and <code>BB</code> (blue) are components in hexa notation, <code>00</code> are zeros which can be omitted.
Colors are defined in the form $00BBGGRR, where <code>RR</code> (red), <code>GG</code> (green) and <code>BB</code> (blue) are components in hexa notation, <code>00</code> are zeros which can be omitted (or used for special purposes).
{| class="wikitable"
{| class="wikitable"
|+Special color identifiers
|+Special color identifiers

Latest revision as of 12:54, 22 March 2022

Colors in XML file are either special identifier (clNone, clDefault, ...) or hexadecimal definition.

Hexadecimal definition

Colors are defined in the form $00BBGGRR, where RR (red), GG (green) and BB (blue) are components in hexa notation, 00 are zeros which can be omitted (or used for special purposes).

Special color identifiers
XML Identifier Color
[V] clNone without color
[V] clDefault color defined by another method
[V] clLine line color defined by drawing
[V] clFill fill color defined by drawing
[V] clHatch hatch color defined by drawing