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

apropos-color-names Function

Summary

Returns colors and color aliases containing a given string.

Package

color

Signature

apropos-color-names substring => list

Arguments
substring
A string.
Values
list
A list of symbols.
Description

The function apropos-color-names returns a list of symbols whose symbol-names contain substring and which are present in the color-database defining color aliases. By convention these are in the keyword package.

Examples
COLOR-4> (color: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)
See also

apropos-color-alias-names
apropos-color-spec-names
get-all-color-names
15 The Color System


CAPI User Guide and Reference Manual (Macintosh version) - 01 Dec 2021 19:31:50