color balls


A color is represented by coordinates in a 3-dimensional space. This simple idea belies the difficulties faced by the color novice:

A plethora of color interfaces of varying quality have been developed for application programs. This solid implementation in SLIB will improve utility for users while freeing developers from reinventing this wheel.

SLIB's color package provides methods to specify, compute, and transform colors in the color spaces CIEXYZ, CIEL*a*b*, CIEL*u*v*, CIEL*C*h, RGB709, sRGB, e-sRGB, xyY, spectra, and chromaticity. It also provides for reading and writing of a textual representation of colors; and color-name lookup from multiple dynamically-loadable databases.

Copyright © 2002, 2010 Aubrey Jaffer

I am a guest and not a member of the MIT Computer Science and Artificial Intelligence Laboratory.  My actions and comments do not reflect in any way on MIT.
agj @
Go Figure!