PaletteΒΆ
color.spad line 95 [edit on github]
This domain describes four groups of color shades (palettes).
- bright: Color -> %
bright(c)
sets the shade of a hue,c
, above dim, but below pastel.
- coerce: % -> OutputForm
from CoercibleTo OutputForm
- coerce: Color -> %
coerce(c)
sets the average shade for the palette to that of the indicated colorc
.
- dark: Color -> %
dark(c)
sets the shade of the indicated hue ofc
to it's
lowest value.
- dim: Color -> %
dim(c)
sets the shade of a hue,c
, above dark, but below bright.
- hue: % -> Color
hue(p)
returns the hue field of the indicated palettep
.
- latex: % -> String
from SetCategory
- light: Color -> %
light(c)
sets the shade of a hue,c
, to it's
highest value.
- pastel: Color -> %
pastel(c)
sets the shade of a hue,c
, above bright, but below light.
- shade: % -> Integer
shade(p)
returns the shade index of the indicated palettep
.