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

NextPrevUpTopContentsIndex

apropos-color-spec-names

Function
Summary

Returns colors containing a given string.

Package

color

Signature

apropos-color-spec-names substring => list

Arguments

substring

A string.

Values

list

A list of symbols.

Description

Returns a list of symbols whose symbol-names contain substring and which are defined as original entries in the color-database defining color aliases. By convention these are in the keyword package.

Example
COLOR 14 > (define-color-alias :mygray100 :gray100)
(#S(COLOR-ALIAS COLOR :GRAY100))
COLOR 15 > (apropos-color-names "GRAY100")
(:MYGRAY100 :GRAY100)
COLOR 16 > (apropos-color-spec-names "GRAY100")
(:GRAY100)
COLOR 17 >
See also

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


CAPI User Guide and Reference Manual (Unix version) - 25 Feb 2015

NextPrevUpTopContentsIndex