LispWorks CAPI User Guide > 13 The Color System

NextPrevUpTopContentsIndex

13.2 Reading the color database

To find out what colors are defined in the color database, use the functions apropos-color-names. For example:

(apropos-color-names "RED") =>
 (:ORANGERED3 :ORANGERED1 :INDIANRED3 :INDIANRED1
  :PALEVIOLETRED :RED :INDIANRED :INDIANRED2
  :INDIANRED4 :ORANGERED :MEDIUMVIOLETRED 
  :VIOLETRED :ORANGERED2 :ORANGERED4 :RED1 :RED2 :RED3
  :RED4 :PALEVIOLETRED1 :PALEVIOLETRED2 :PALEVIOLETRED3
  :PALEVIOLETRED4 :VIOLETRED3 :VIOLETRED1 :VIOLETRED2
  :VIOLETRED4)

For information about only aliases or only original entries, use apropos-color-alias-names or apropos-color-spec-names respectively.

To get a list of all color names in the color database, call get-all-color-names .


LispWorks CAPI User Guide (Windows version) - 22 Dec 2009

NextPrevUpTopContentsIndex