%abc-2.1 %%bgcolor white %%singleline 1 %%rightmargin 0.8cm %%leftmargin 0.8cm %%titleleft 1 %%topspace 0

voicecolor color

Default Command line Scope Available in
#000000
none
noneimmediate
voice
abcm2ps >= 8.5.0
abc2svg

Set a color on the symbols of the current voice.

With abcm2ps, color can be only defined by a 24 bits numerical color '#rrggbb' or by a HTML4 color name (aqua, black, blue, fuchsia, gray, green, lime, maroon, navy, olive, purple, red, silver, teal, white and yellow).

X:1
M:C
L:1/4
K:C
%%score {1|2}
V:1
%%voicecolor #0000c0
cccd | e2d2 | cedd | c4 |
V:2
C,G,E,G, | \
%%voicecolor #c00000
C.G.F.G. \
%%voicecolor black
| E,G,F,G, | C,G,C,2 |
X:1 M:C L:1/4 K:C %%score {1|2} V:1 %%voicecolor #0000c0 cccd | e2d2 | cedd | c4 | V:2 C,G,E,G, | \ %%voicecolor #c00000 C,G,F,G, \ %%voicecolor black | E,G,F,G, | E,G,C,2 |