2.3 Drawing Classes
2.3.1 bitmap%
2.3.2 bitmap-dc%
2.3.3 brush%
2.3.4 brush-list%
2.3.5 color%
2.3.6 color-database<%>
2.3.7 dc<%>
2.3.8 dc-path%
2.3.9 font%
2.3.10 font-list%
2.3.11 font-name-directory<%>
2.3.12 gl-config%
2.3.13 gl-context<%>
2.3.14 pen%
2.3.15 pen-list%
2.3.16 point%
2.3.17 post-script-dc%
2.3.18 printer-dc%
2.3.19 ps-setup%
2.3.20 region%
On this page:

The global the-color-database object is an instance of color-database<%>. It maintains a database of standard RGB colors for a predefined set of named colors (such as “black” and “light grey”).

The following colors are in the database:

        Orange Red
        Indian Red
        Medium Violet Red
        Violet Red
        Medium Goldenrod
        Green Yellow
        Yellow Green
        Medium Forest Green
        Dark Olive Green
        Dark Green
        Lime Green
        Forest Green
        Spring Green
        Medium Spring Green
        Sea Green
        Medium Sea Green
        Pale Green
        Medium Aquamarine
        Medium Turquoise
        Steel Blue
        Dark Turquoise
        Sky Blue
        Cadet Blue
        Dark Slate Gray
        Light Steel Blue
        Light Blue
        Medium Blue
        Midnight Blue
        Blue Violet
        Medium Slate Blue
        Slate Blue
        Dark Slate Blue
        Dark Orchid
        Cornflower Blue
        Medium Orchid
        Light Gray
        Dark Gray
        Dim Gray

The names are not case-sensitive.

See also color%.

(send a-color-database find-color color-name)
  (or/c (is-a?/c color%) false/c)
  color-name : string?
Finds a color by name (character case is ignored). If no color is found for the name, #f is returned.