Next Prev Up Top Contents Index

make-hsv

Function
Summary

Returns a color specification in the hue-saturation-value model.

Package

color

Signature

make-hsv hue saturation value => color-spec

Arguments

hue

A hue component.

saturation

A saturation component.

value

A value component.

Values

color-spec

A color specification.

Description

Return a color-spec in the :HSV model with components hue , saturation and value .

Note that short-floats are used for each component; this results in the most efficient color conversion process. However, any floating-point number type can be used.

Example
COLOR 27 > (color:make-hsv 1.2s0 0.5s0 0.9s0)
#(:HSV 1.2S0 0.5S0 0.9S0)
COLOR 26 >
See also
make-rgb
make-gray
color-model
color-<component>
color-level

LispWorks Reference Manual (Windows version) - 14 Dec 2001

Next Prev Up Top Contents Index