bgcolor color

Default Scope Available in

fgcolor color

Default Scope Available in
nonegenerationabc2svg >= 1.19.6

bgcolor defines the background color on SVG output (abc2svg) or XHTML output (abcm2ps with option -X).

fgcolor defines the foreground color on SVG output (abc2svg only).

The color may be a color name (like 'lightblue') or a hexadecimal RGB color (like '#faf0e6').
When bgcolor is not set, the SVG images are transparent.

%abc-2.2 %%pagewidth 5cm %the script of this page (abcdoc-1.js) predefines "%%bgcolor white"
X:1 M:2/4 L:1/4 K:C cc | %%fgcolor blue %%text text between tunes X:2 M:2/4 L:1/4 %%bgcolor #c0e0ff K:C cc |