► |  | GUI: PLT Graphics Toolkit

1 | Overview
2 | Reference
3 | Configuration
4 | Dynamic Loading
| Bibliography
| Index

► | 2 | Reference

2.1 | Windowing Classes
2.2 | Windowing Functions
2.3 | Drawing Classes
2.4 | Drawing Functions
2.5 | Editor Classes
2.6 | Editor Functions
2.7 | WXME Decoding

▼ | 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:

find-color

Version: 4.1.4
top← prev up next →

color-database<%> : interface?

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
OrangeRed
Tomato
DarkRed
Red
Firebrick
Crimson
DeepPink
Maroon
Indian Red
IndianRed
Medium Violet Red
MediumVioletRed
Violet Red
VioletRed
LightCoral
HotPink
PaleVioletRed
LightPink
RosyBrown
Pink
Orchid
LavenderBlush
Snow
Chocolate
SaddleBrown
Brown
DarkOrange
Coral
Sienna
Orange
Salmon
Peru
DarkGoldenrod
Goldenrod
SandyBrown
LightSalmon
DarkSalmon
Gold
Yellow
Olive
Burlywood
Tan
NavajoWhite
PeachPuff
Khaki
DarkKhaki
Moccasin
Wheat
Bisque
PaleGoldenrod
BlanchedAlmond
Medium Goldenrod
MediumGoldenrod
PapayaWhip
MistyRose
LemonChiffon
AntiqueWhite
Cornsilk
LightGoldenrodYellow
OldLace
Linen
LightYellow
SeaShell
Beige
FloralWhite
Ivory
Green
LawnGreen
Chartreuse
Green Yellow
GreenYellow
Yellow Green
YellowGreen
Medium Forest Green
OliveDrab
MediumForestGreen
Dark Olive Green
DarkOliveGreen
DarkSeaGreen
Lime
Dark Green
DarkGreen
Lime Green
LimeGreen
Forest Green
ForestGreen
Spring Green
SpringGreen
Medium Spring Green
MediumSpringGreen
Sea Green
SeaGreen
Medium Sea Green
MediumSeaGreen
Aquamarine
LightGreen
Pale Green
PaleGreen
Medium Aquamarine
MediumAquamarine
Turquoise
LightSeaGreen
Medium Turquoise
MediumTurquoise
Honeydew
MintCream
RoyalBlue
DodgerBlue
DeepSkyBlue
CornflowerBlue
Steel Blue
SteelBlue
LightSkyBlue
Dark Turquoise
DarkTurquoise
Cyan
Aqua
DarkCyan
Teal
Sky Blue
SkyBlue
Cadet Blue
CadetBlue
Dark Slate Gray
DarkSlateGray
LightSlateGray
SlateGray
Light Steel Blue
LightSteelBlue
Light Blue
LightBlue
PowderBlue
PaleTurquoise
LightCyan
AliceBlue
Azure
Medium Blue
MediumBlue
DarkBlue
Midnight Blue
MidnightBlue
Navy
Blue
Indigo
Blue Violet
BlueViolet
Medium Slate Blue
MediumSlateBlue
Slate Blue
SlateBlue
Purple
Dark Slate Blue
DarkSlateBlue
DarkViolet
Dark Orchid
DarkOrchid
MediumPurple
Cornflower Blue
Medium Orchid
MediumOrchid
Magenta
Fuchsia
DarkMagenta
Violet
Plum
Lavender
Thistle
GhostWhite
White
WhiteSmoke
Gainsboro
Light Gray
LightGray
Silver
Gray
Dark Gray
DarkGray
Dim Gray
DimGray
Black

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.

top← prev up next →