A filename or pathname containing the color definitions to be read. If
file
is not given,
read-color-db
uses the default color definitions file in the LispWorks library.
This reads color definitions from the given
file
(a filename or pathname). The returned data structure can be passed to
color:load-color-database
. 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.