[ << Notation manual tables ] | [Top][Contents][Index] | [ Cheat sheet >> ] |
[ < MIDI instruments ] | [ Up : Notation manual tables ] | [ The Emmentaler font > ] |
B.7 List of colors
Normal colors
See Coloring objects for detailed usage syntax.
![]()
black
![]()
white
![]()
red
![]()
green
![]()
blue
![]()
cyan
![]()
magenta
![]()
yellow
![]()
grey
![]()
darkred
![]()
darkgreen
![]()
darkblue
![]()
darkcyan
![]()
darkmagenta
![]()
darkyellow
CSS color names
CSS color names may be used as-is in string arguments.
CSS color definitions differ from X color names for the following
colors: green
, grey
, maroon
, purple
.
X color names
X11 color names offer a wider choice than CSS names. They come in several variants:
- Any name that is spelled as a single word with capitalization (e.g., ‘LightSlateBlue’) can also be spelled as space-separated words with or without capitalization (e.g., ‘light slate blue’).
- The word ‘grey’ can always be spelled ‘gray’ (e.g., ‘DarkSlateGray’), without any difference in the output.
- Some names can take a numerical suffix (e.g., ‘LightSalmon4’).
Use the Scheme function x11-color
to access them.
Color Names without a numerical suffix
The following table presents all color names that may be used without a numerical suffix.
Color names with a numerical suffix
A subset of the X11 color names may be used with a numerical
suffix in the range 1 to 4 to get darker shades. Note that
for such colors, color foo
is identical to color
foo1
.
Grey Scale
The set of X11 colors also contains a palette of 101 gray shades.
The table for color names greyN
looks the same.
Color-blind-safe colors
The Scheme function universal-color
provides
a set of eight colors
designed to be unambiguous to people with dichromatism.
![]()
black
![]()
orange
![]()
skyblue
![]()
bluegreen
![]()
yellow
![]()
blue
![]()
vermillion
![]()
redpurple
[ << Notation manual tables ] | [Top][Contents][Index] | [ Cheat sheet >> ] |
[ < MIDI instruments ] | [ Up : Notation manual tables ] | [ The Emmentaler font > ] |