Next Previous Up Top Contents Index

4.3 DUIM-DCs Module

color-luminosity

Generic function

Summary

Returns the brightness of a color.

Signature

color-luminosity color => luminosity

Arguments

color
An instance of type <color>.

Values

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

Library

duim-dcs

Module

duim-dcs

Description

Returns the brightness of color color as real number between 0 and 1. The value is the solution of a function that describes the perception of the color by the human retina.

See also

<color>, page 132

color?, page 135

color-ihs, page 135

color-palette?, page 138

color-rgb, page 138


Functional Developer Library Reference: DUIM - 3 Dec 1998

Next Previous Up Top Contents Index