All Manuals > CAPI User Guide and Reference Manual > 24 COLOR Reference Entries

colors= Function

Summary

Tests to see if two colors are equal.

Package

color

Signature

colors= color1 color2 &optional tolerance => bool

Arguments
color1
A color specification.
color2
A color specification.
tolerance
A tolerance level within which color1 and color2 may vary. The default value is 0.001s0.
Values
bool
t if the two colors are equal within the given tolerance, nil otherwise.
Description

The function colors= return t if color1 and color2 are equal, within the tolerance tolerance.

See also

ensure-color
ensure-rgb
convert-color
15 The Color System


CAPI User Guide and Reference Manual (Unix version) - 01 Dec 2021 19:33:10