Returns the gray level of a color specification.
color
color-level color-spec => gray-level
color-spec⇩ |
A color specification. |
gray-level |
Color component from the :gray model. |
The function color-level
return the gray level of color-spec. If color-spec is not from the :gray
model, the component is calculated.
CL-USER 2 > (color:make-gray 0.66667s0) #(:GRAY 0.66667S0) CL-USER 3 > (color:color-level *) 0.66667S0 CL-USER 4 >
make-hsv
make-rgb
make-gray
color-model
color-blue
15.3 Color models
CAPI User Guide and Reference Manual (Macintosh version) - 01 Dec 2021 19:31:50