rgb (rgb)

key: rgb

type: fff

  1. float: red channel
  2. float: green channel
  3. 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
mdl page