Next Previous Up Top Contents Index

4.3 DUIM-DCs Module

make-rgb-color

Function

Summary

Returns a member of class <color>.

Signature

make-rgb-color red green blue #key opacity => color

Arguments

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). Default value: 1.0.

Values

color
An instance of type <color>.

Library

duim-dcs

Module

duim-dcs

Description

Returns a member of class <color>. The red, green, and blue arguments are real numbers between 0 and 1 (inclusive) that specify the values of the corresponding color components.

When all three color components are 1, the resulting color is white. When all three color components are 0, the resulting color is black.

See also

make-gray-color, page 164

make-ihs-color, page 165


Functional Developer Library Reference: DUIM - 3 Dec 1998

Next Previous Up Top Contents Index