Next Previous Up Top Contents Index

4.3 DUIM-DCs Module

color-rgb

Generic function

Summary

Returns four values, the red, green, blue, and opacity components of a color.

Signature

color-rgb color => ref green blue opacity

Arguments

color
An instance of type <color>.

Values

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

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

blue
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 red, green, blue, and opacity components of the color color. The values are real numbers between 0 and 1 (inclusive).

See also

<color>, page 132

color?, page 135

color-ihs, page 135

color-luminosity, page 136

color-palette?, page 138


Functional Developer Library Reference: DUIM - 3 Dec 1998

Next Previous Up Top Contents Index