Returns colors containing a given string.
color
apropos-color-spec-names substring => list
substring⇩ |
A string. |
list |
A list of symbols. |
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.
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 >
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