5.1 Conceptual Overview of Drawing With Color
A color can be specified by three real numbers between 0 and 1 inclusive, giving the amounts of red, green, and blue. Three 0's mean black; three 1's mean white. A color can also be specified by three numbers giving the intensity, hue, and saturation. A totally unsaturated color (a shade of gray) can be specified by a single real number between 0 and 1, giving the amount of white.
You can obtain a color object by calling one of make-rgb-color, make-ihs-color, or make-gray-color, or by using one of the predefined colors listed in Section 5.3, "Predefined Color Names in LispWorks CLIM," or Subsection 5.4, "Predefined Color Names in Liquid CLIM". Specifying a color object as the :ink drawing option, the foreground, or the background causes CLIM to use that color in the appropriate drawing operations.
Generated with Harlequin WebMaker