Difference between revisions of "Colors"
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
		
	
Petr.Bures (talk | contribs)  | 
				Petr.Bures (talk | contribs)   | 
				||
| 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 11: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).
| 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 |