color.spad line 95 [edit on github]
This domain describes four groups of color shades (palettes).
bright(c)
sets the shade of a hue, c
, above dim, but below pastel.
coerce(c)
sets the average shade for the palette to that of the indicated color c
.
dark(c)
sets the shade of the indicated hue of c
to it's
lowest value.
dim(c)
sets the shade of a hue, c
, above dark, but below bright.
hue(p)
returns the hue field of the indicated palette p
.
light(c)
sets the shade of a hue, c
, to it's
highest value.
pastel(c)
sets the shade of a hue, c
, above bright, but below light.
shade(p)
returns the shade index of the indicated palette p
.