Reads the color definitions contained in a file.
color
read-color-db &optional file => color-database
file⇩ |
A filename or pathname containing the color definitions to be read. |
color-database⇩ |
A database definition. |
The function read-color-db
reads color definitions from file. file defaults to the default color definitions file in the LispWorks library.
The format of the file is:
#(:RGB 1.0s0 0.980391s0 0.980391s0) snow #(:RGB 0.972548s0 0.972548s0 1.0s0) GhostWhite ...
Each line contains a color definition which consists of a color-spec and a name. The names are converted to uppercase and interned in the keyword package. Whitespace in names is preserved.
color-database can be passed to load-color-database.
load-color-database
*color-database*
delete-color-translation
15 The Color System
CAPI User Guide and Reference Manual (Windows version) - 01 Dec 2021 19:34:21