Next Previous Up Top Contents Index

4.3 DUIM-DCs Module

color-ihs

Generic function

Summary

Returns four values, the intensity, hue, saturation, and opacity components of a color.

Signature

color-ihs color => intensity hue saturation opacity

Arguments

color
An instance of type <color>.

Values

intensity
An instance of type limited(<real>, min: 0, max: sqrt(3().

hue
An instance of type limited(<real>, min: 0, max: 1).

saturation
An instance of type limited(<real>, min: 0, max: 1).

opacity
An instance of type limited(<real>, min: 0, max: 1).

Library

duim-dcs

Module

duim-dcs

Description

Returns four values, the intensity, hue, saturation, and opacity components of the color color. The first value is a real number between 0 and sqrt{3} (inclusive). The second and third values are real numbers between 0 and 1 (inclusive).

See also

<color>, page 132

color?, page 135

color-luminosity, page 136

color-palette?, page 138

color-rgb, page 138


Functional Developer Library Reference: DUIM - 3 Dec 1998

Next Previous Up Top Contents Index