<data.COLOR>

A value in one of the following forms is expected: 1) hexadecimal RRGGBB, 2) hexadecimal AARRGGBB, 3) CSS RGB, 4) CSS RGBA, 5) HSL, 6) HSLA, or 7) HTML 4.01 color name.
Module
MEI
Used by
These class-based attributes use data.COLOR
att.color/@colorUsed to indicate visual appearance. Do not confuse this with the musical term 'color' as used in pre-CMN notation.
att.noteHeads/@head.colorCaptures the overall color of a notehead.
att.noteHeads/@head.fillcolorCaptures the fill color of a notehead if different from the overall note color.
att.arpeg.vis/@arrow.colorCaptures the overall color of the arrow.
att.arpeg.vis/@arrow.fillcolorCaptures the fill color of the arrow if different from the line color.
att.beaming.vis/@beam.colorColor of beams, including those associated with tuplets.
att.cleffing.vis/@clef.colorDescribes the color of the clef.
att.mensural.vis/@mensur.colorRecords the color of the mensuration sign. Do not confuse this with the musical term 'color' as used in pre-CMN notation.
att.staffDef.vis/@lines.colorCaptures the colors of the staff lines. The value is structured; that is, it should have the same number of space-separated RGB values as the number of lines indicated by the lines attribute. A line can be made invisible by assigning it the same RGB value as the background, usually white.
Declaration
<macroSpec ident="data.COLOR" module="MEI" type="dt">
<desc>A value in one of the following forms is expected: 1) hexadecimal RRGGBB, 2) hexadecimal AARRGGBB, 3) CSS RGB, 4) CSS RGBA, 5) HSL, 6) HSLA, or 7) HTML 4.01 color name.</desc>
<content>
<rng:choice>
<rng:ref name="data.COLORNAMES"/>
<rng:ref name="data.COLORVALUES"/>
</rng:choice>
</content>
</macroSpec>