color.spad line 1 [edit on github]
Color() specifies a domain of 27 colors provided in the FriCAS system (the colors mix additively).
s * c
, returns the color c
, whose weighted shade has been scaled by s
.
s * c
, returns the color c
, whose weighted shade has been scaled by s
.
c1 + c2
additively mixes the two colors c1
and c2
.
blue()
returns the position of the blue hue from total hues.
color(i)
returns a color of the indicated hue i
.
green()
returns the position of the green hue from total hues.
hue(c)
returns the hue index of the indicated color c
.
numberOfHues()
returns the number of total hues, set in totalHues.
red()
returns the position of the red hue from total hues.
yellow()
returns the position of the yellow hue from total hues.