Denali/Mt. McKinley and Brown Bear Software logo
Calcium Documentation - Colors
Horizontal Line

You can choose a pre-defined color using its name, or you can specify any arbitrary color using a numeric value which specifies the relative intensities of the Red, Green, and Blue pixels.

Valid names with the colors they represent are shown below. (You can click your mouse and drag over a color name to highlight it if it is unreadable.) An explanation of how to specify any color using a numeric value is at the bottom of the page.

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 darkkhaki darkmagenta darkolivegreen
darkorange darkorchid darkred darksalmon
darkseagreen darkslateblue darkslategray darkturquoise
darkviolet deeppink deepskyblue dimgray
dodgerblue firebrick floralwhite forestgreen
fuchsia gainsboro ghostwhite gold
goldenrod gray green greenyellow
honeydew hotpink indianred indigo
ivory khaki lavender lavenderblush
lawngreen lemonchiffon lightblue lightcoral
lightcyan lightgoldenrodyellow lightgreen lightgrey
lightpink lightsalmon lightseagreen lightskyblue
lightslategray 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 snow springgreen steelblue
tan teal thistle tomato
turquoise violet wheat white
whitesmoke yellow yellowgreen


Specifying Colors Using Numeric Values
Any color can be specified by using a numeric value which represents the relative amounts of red, green, and blue. These values are specified as a six digit hexadecimal number, preceded by the # character. The first two digits of the number specify the Red value, the next two specify Green, and the final two are for Blue.

Some examples:
  • #000000 - black
  • #0000ff - blue
  • #ff00ff - purple (full red and blue)
  • #777777 - medium gray (equal parts red, green, blue)
  • #cc9903 - yellowish (lots of red, some green, almost no blue)