Ferret Laboratories : Yassa : Documentation
Notes about colour
Many of the commands allow you to specify a colour
at relevant times. Colours may be specified in a few
different ways.
The usual way of specifying a colour is to describe
it by it's blue, green and red components - you'll no
doubt be familiar with this if you've done any
programming, computer art or website design.
Values are accepted in hexadecimal.
Values can be accepted in any of the following
forms:
0xBBGGRR00
0xBBGGRR
&BBGGRR00
&BBGGRR
BBGGRR00
BBGGRR
The acceptance of different prefixes (0x or &) is
just so that both BASIC and C programmers will feel at
home.
There are also some recognised colour descriptions,
as whipped from the HTML specification:
- Black
- Green
- Silver
- Lime
- Gray
- Olive
- White
- Yellow
- Maroon
- Navy
- Red
- Blue
- Purple
- Teal
- Fuchsia
- Aqua
- AliceBlue
- AntiqueWhite
- Aqua
- AquaMarine
- Azure
- Beige
- Bisque
- Black
- BlanchedAlmond
- Blue
- BlueViolet
- Brown
- BurlyWood
- CadetBlue
- ChartReuse
- Chocolate
- Coral
- CornFlowerBlue
- CornSilk
- Crimson
- Cyan
- DarkBlue
- DarkCyan
- DarkGoldenRod
- DarkGray
- DarkGreen
- DarkGrey
- DarkKhaki
- DarkMagenta
- DarkOliveGreen
- DarkOrange
- DarkOrchid
- DarkRed
- DarkSalmon
- DarkSeaGreen
- DarkSlateBlue
- DarkSlateGray
- DarkSlateGrey
- DarkTurquoise
- DarkViolet
- DeepPink
- DeepSkyBlue
- DimGray
- DimGrey
- DodgerBlue
- FireBrick
- FloralWhite
- ForestGreen
- Fuchsia
- GainsBoro
- GhostWhite
- Gold
- GoldenRod
- Gray
- Grey
- Green
- GreenYellow
- HoneyDew
- HotPink
- IndianRed
- Indigo
- Ivory
- Khaki
- Lavender
- LavenderBlush
- LawnGreen
- LemonChiffon
- LightBlue
- LightCoral
- LightCyan
- LightGoldenRodYellow
- LightGray
- LightGreen
- LightGrey
- LightPink
- LightSalmon
- LightSeaGreen
- LightSkyBlue
- LightSlateGray
- LightSlateGrey
- LightSteelBlue
- LightYellow
- Lime
- LimeGreen
- Linen
- Magenta
- Maroon
- MediumAquaMarine
- MediumBlue
- MediumOrchid
- MediumPurple
- MediumSeaGreen
- MediumSlateBlue
- MediumSpringGreen
- MediumTurquoise
- MediumVioletRed
- MidnightBlue
- MintCream
- MistyRose
- Moccasin
- NavajoWhite
- Navy
- OldLace
- Olive
- OliveDrab
- Orange
- OrangeRed
- Orchid
- PaleGoldenRod
- PaleGreen
- PaleTurquoise
- PaleVioletRed
- PapayaWhip
- PeachPuff
- Peru
- Pink
- Plum
- PowderBlue
- Purple
- Red
- RosyBrown
- RoyalBlue
- SaddleBrown
- Salmon
- SandyBrown
- SeaGreen
- SeaShell
- Sienna
- Silver
- SkyBlue
- SlateBlue
- SlateGray
- SlateGrey
- Snow
- SpringGreen
- SteelBlue
- Tan
- Teal
- Thistle
- Tomato
- Turquoise
- Violet
- Wheat
- White
- WhiteSmoke
- Yellow
- YellowGreen
- Black
- Navy
- DarkBlue
- MediumBlue
- Blue
- DarkGreen
- Green
- Teal
- DarkCyan
- DeepSkyBlue
- DarkTurquoise
- MediumSpringGreen
- Lime
- SpringGreen
- Aqua
- Cyan
- MidnightBlue
- DodgerBlue
- LightSeaGreen
- ForestGreen
- SeaGreen
- DarkSlateGray
- DarkSlateGrey
- LimeGreen
- MediumSeaGreen
- Turquoise
- RoyalBlue
- SteelBlue
- DarkSlateBlue
- MediumTurquoise
- Indigo
- DarkOliveGreen
- CadetBlue
- CornFlowerBlue
- MediumAquaMarine
- DimGray
- DimGrey
- SlateBlue
- OliveDrab
- SlateGray
- SlateGrey
- LightSlateGray
- LightSlateGrey
- MediumSlateBlue
- LawnGreen
- ChartReuse
- AquaMarine
- Maroon
- Purple
- Olive
- Gray
- Grey
- SkyBlue
- LightSkyBlue
- BlueViolet
- DarkRed
- DarkMagenta
- SaddleBrown
- DarkSeaGreen
- LightGreen
- MediumPurple
- DarkViolet
- PaleGreen
- DarkOrchid
- YellowGreen
- Sienna
- Brown
- DarkGray
- DarkGrey
- LightBlue
- GreenYellow
- PaleTurquoise
- LightSteelBlue
- PowderBlue
- FireBrick
- DarkGoldenRod
- MediumOrchid
- RosyBrown
- DarkKhaki
- Silver
- MediumVioletRed
- IndianRed
- Peru
- Chocolate
- Tan
- LightGray
- LightGrey
- Thistle
- Orchid
- GoldenRod
- PaleVioletRed
- Crimson
- GainsBoro
- Plum
- BurlyWood
- LightCyan
- Lavender
- DarkSalmon
- Violet
- PaleGoldenRod
- LightCoral
- Khaki
- AliceBlue
- HoneyDew
- Azure
- SandyBrown
- Wheat
- Beige
- WhiteSmoke
- MintCream
- GhostWhite
- Salmon
- AntiqueWhite
- Linen
- LightGoldenRodYellow
- OldLace
- Red
- Fuchsia
- Magenta
- DeepPink
- OrangeRed
- Tomato
- HotPink
- Coral
- DarkOrange
- LightSalmon
- Orange
- LightPink
- Pink
- Gold
- PeachPuff
- NavajoWhite
- Moccasin
- Bisque
- MistyRose
- BlanchedAlmond
- PapayaWhip
- LavenderBlush
- SeaShell
- CornSilk
- LemonChiffon
- FloralWhite
- Snow
- Yellow
- LightYellow
- Ivory
- White
The parser is not case sensitive.
The word none may be used in some cases,
where it is relevant to specify no colour.
These cases are specifically mentioned in the command
reference.

This page was last updated July 2005.