Library reference for (c211 color)
(color r g b)
=> a color
Create a new color with red, green, and blue values of
r
, g
, and b
respectively.
(color-ref color band)
=> an integer in the range [0, 255]
band
should be one of either the symbols red
, green
, or blue
or the corresponding integers 0, 1, or 2. Access the color object, returning the amount of that specified color as an integer in the range [0, 255] where 0 is none of that color and 255 is the maximum amount.
(color-set! color band value)
=> unspecified
band
should be one of either the symbols red
, green
, or blue
or the corresponding integers 0, 1, or 2. Alter the color object setting the value
(should be in the range [0, 255]) in that band
.