make-gray
Function
- Summary
-
- Returns a color specification in the gray model.
- Package
color
- Signature
make-gray level => color-spec
- Arguments
-
- level
A color component used to define the gray level required.
- Values
-
- color-spec
A color specification.
- Description
-
- Return a color-spec in the
:GRAY model with component level. - Note that short-floats are used for the component; this results in the most efficient color conversion process. However, any floating point number type can be used.
- Example
-
COLOR 25 > (color:make-gray 0.66667s0)
#(:GRAY 0.66667S0)
COLOR 26 >
- See also
-
make-hsv
make-rgb
color-model
color-<component>
color-level