rgb (rgb)
key: rgb
type: fff
- float: red channel
- float: green channel
- float: blue channel
Description
A three channel rgb color. By convention, the
conversion to a spectrum is that red is a
constant spectrum from 600 to 700nm and zero elsewhere,
green is a constant from 500-600nm and zero elsewhere,
and blue is constant from 400-500nm and zero elsewhere.
Examples
rgb 0.8 0.2 0.2 end % a reddish color