Returns a color specification in the red-green-blue model.
A red component.
A green component.
A blue component.
A number between 0 and 1, or
A color specification.
Return a color-spec in the
:RGB model with components
Note that short floats are used for each component; this results in the most efficient color conversion process. However, any floating point number type can be used.
indicates the alpha value of the color. 0 means it is transparent, 1 means it is solid. If
nil or not specified then the color does not have an alpha component and it is assumed to be solid.
The object returned by the following call defines the color red in the RGB model:
COLOR 25 > (color:make-rgb 1.0s0 0.0s0 0.0s0)
#(:RGB 1.0S0 0.0S0 0.0S0)
CAPI User Guide and Reference Manual (Unix version) - 25 Feb 2015