All Manuals > CAPI User Guide and Reference Manual > 24 COLOR Reference Entries

color-model Function

Summary

Returns the model of a color-spec.

Package

color

Signature

color-model color-spec => color-model

Arguments
color-spec
A color specification.
Values
color-model
:gray, :rgb, or :hsv.
Description

The function color-model returns the model of color-spec.

Examples
CL-USER 29 > (color:make-gray 0.66667s0)
#(:GRAY 0.66667S0)
 
CL-USER 30 > (color:color-model *)
:GRAY
 
CL-USER 31 >
See also

make-hsv
make-rgb
make-gray
color-blue
color-level
15.1 Color specs


CAPI User Guide and Reference Manual (Windows version) - 01 Dec 2021 19:34:21