This is an old revision of the document!
The preferred method of defining the color to use for drawing is the color attribute.
The color codes used shall be defined in the mapcolors.xml file in the root folder of the FIR definition.
<line color="airspace_low"> <point lon="E0042957" lat="N0511059"/> <point lon="E0044324" lat="N0510755"/> </line>
There are two alternative ways to define the color used:
When the string value of the color attribute starts with a # then it shall be defined as #RRGGBB
<line color="#FF9922"> <point lon="E0042957" lat="N0511059"/> <point lon="E0044324" lat="N0510755"/> </line>
Otherwise you can use R,G,B values like:
<line r="65" g="112" b="40"> <point lon="E0042957" lat="N0511059"/> <point lon="E0044324" lat="N0510755"/> </line>
We strongly suggest to use the color attribute to keep everything as user friendly as possible.
The color attribute has priority over the the rgb attributes.