Next Previous Up Top Contents Index

2 The COLOR Package

color-level

Function

Summary

Returns the gray level of a color specification.
Package

color

Signature

color-level color-spec => gray-level

Arguments

color-spec

A color specification.

Values

gray-level

Color component from the:gray model.

Description

Return the gray level of color-spec. If color-spec is not from the:GRAY model, the component is calculated.
Example

COLOR 2 > (color:make-gray 0.66667s0)
#(:GRAY 0.66667S0)

COLOR 3 > (color-level *) 0.66667S0

COLOR 4 >

See also

make-hsv
make-rgb
make-gray
color-model
color-<component>


LispWorks Reference Manual - 15 Oct 1998

Next Previous Up Top Contents Index

Generated with Harlequin WebMaker