data.COLOR

A value in one of the following forms is expected: 1) hexadecimal RRGGBB, 2) hexadecimal RRGGBBAA, 3) CSS RGB, 4) CSS RGBA, 5) HSL, 6) HSLA, or 7) CSS color name.
Module
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.
Declaration
<macroSpec ident="data.COLOR" module="MEI" type="dt">
<desc xml:lang="en">A value in one of the following forms is expected: 1) hexadecimal RRGGBB, 2) hexadecimal RRGGBBAA, 3) CSS RGB, 4) CSS RGBA, 5) HSL, 6) HSLA, or 7) CSS color name.</desc>
<content>
<rng:choice>
<rng:ref name="data.COLORNAMES"/>
<rng:ref name="data.COLORVALUES"/>
</rng:choice>
</content>
</macroSpec>