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

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

The function apropos-color-spec-names 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.

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

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


CAPI User Guide and Reference Manual (Windows version) - 01 Dec 2021 19:34:21