Contains a set of predefined named colours (mostly standard HTML colours) More...
Functions | |
JUCE_API Colour | findColourForName (const String &colourName, Colour defaultColour) |
Attempts to look up a string in the list of known colour names, and return the appropriate colour. | |
Variables | |
const Colour | transparentBlack { 0 } |
const Colour | transparentWhite { 0x00ffffff } |
const Colour | aliceblue { 0xfff0f8ff } |
const Colour | antiquewhite { 0xfffaebd7 } |
const Colour | aqua { 0xff00ffff } |
const Colour | aquamarine { 0xff7fffd4 } |
const Colour | azure { 0xfff0ffff } |
const Colour | beige { 0xfff5f5dc } |
const Colour | bisque { 0xffffe4c4 } |
const Colour | black { 0xff000000 } |
const Colour | blanchedalmond { 0xffffebcd } |
const Colour | blue { 0xff0000ff } |
const Colour | blueviolet { 0xff8a2be2 } |
const Colour | brown { 0xffa52a2a } |
const Colour | burlywood { 0xffdeb887 } |
const Colour | cadetblue { 0xff5f9ea0 } |
const Colour | chartreuse { 0xff7fff00 } |
const Colour | chocolate { 0xffd2691e } |
const Colour | coral { 0xffff7f50 } |
const Colour | cornflowerblue { 0xff6495ed } |
const Colour | cornsilk { 0xfffff8dc } |
const Colour | crimson { 0xffdc143c } |
const Colour | cyan { 0xff00ffff } |
const Colour | darkblue { 0xff00008b } |
const Colour | darkcyan { 0xff008b8b } |
const Colour | darkgoldenrod { 0xffb8860b } |
const Colour | darkgrey { 0xff555555 } |
const Colour | darkgreen { 0xff006400 } |
const Colour | darkkhaki { 0xffbdb76b } |
const Colour | darkmagenta { 0xff8b008b } |
const Colour | darkolivegreen { 0xff556b2f } |
const Colour | darkorange { 0xffff8c00 } |
const Colour | darkorchid { 0xff9932cc } |
const Colour | darkred { 0xff8b0000 } |
const Colour | darksalmon { 0xffe9967a } |
const Colour | darkseagreen { 0xff8fbc8f } |
const Colour | darkslateblue { 0xff483d8b } |
const Colour | darkslategrey { 0xff2f4f4f } |
const Colour | darkturquoise { 0xff00ced1 } |
const Colour | darkviolet { 0xff9400d3 } |
const Colour | deeppink { 0xffff1493 } |
const Colour | deepskyblue { 0xff00bfff } |
const Colour | dimgrey { 0xff696969 } |
const Colour | dodgerblue { 0xff1e90ff } |
const Colour | firebrick { 0xffb22222 } |
const Colour | floralwhite { 0xfffffaf0 } |
const Colour | forestgreen { 0xff228b22 } |
const Colour | fuchsia { 0xffff00ff } |
const Colour | gainsboro { 0xffdcdcdc } |
const Colour | ghostwhite { 0xfff8f8ff } |
const Colour | gold { 0xffffd700 } |
const Colour | goldenrod { 0xffdaa520 } |
const Colour | grey { 0xff808080 } |
const Colour | green { 0xff008000 } |
const Colour | greenyellow { 0xffadff2f } |
const Colour | honeydew { 0xfff0fff0 } |
const Colour | hotpink { 0xffff69b4 } |
const Colour | indianred { 0xffcd5c5c } |
const Colour | indigo { 0xff4b0082 } |
const Colour | ivory { 0xfffffff0 } |
const Colour | khaki { 0xfff0e68c } |
const Colour | lavender { 0xffe6e6fa } |
const Colour | lavenderblush { 0xfffff0f5 } |
const Colour | lawngreen { 0xff7cfc00 } |
const Colour | lemonchiffon { 0xfffffacd } |
const Colour | lightblue { 0xffadd8e6 } |
const Colour | lightcoral { 0xfff08080 } |
const Colour | lightcyan { 0xffe0ffff } |
const Colour | lightgoldenrodyellow { 0xfffafad2 } |
const Colour | lightgreen { 0xff90ee90 } |
const Colour | lightgrey { 0xffd3d3d3 } |
const Colour | lightpink { 0xffffb6c1 } |
const Colour | lightsalmon { 0xffffa07a } |
const Colour | lightseagreen { 0xff20b2aa } |
const Colour | lightskyblue { 0xff87cefa } |
const Colour | lightslategrey { 0xff778899 } |
const Colour | lightsteelblue { 0xffb0c4de } |
const Colour | lightyellow { 0xffffffe0 } |
const Colour | lime { 0xff00ff00 } |
const Colour | limegreen { 0xff32cd32 } |
const Colour | linen { 0xfffaf0e6 } |
const Colour | magenta { 0xffff00ff } |
const Colour | maroon { 0xff800000 } |
const Colour | mediumaquamarine { 0xff66cdaa } |
const Colour | mediumblue { 0xff0000cd } |
const Colour | mediumorchid { 0xffba55d3 } |
const Colour | mediumpurple { 0xff9370db } |
const Colour | mediumseagreen { 0xff3cb371 } |
const Colour | mediumslateblue { 0xff7b68ee } |
const Colour | mediumspringgreen { 0xff00fa9a } |
const Colour | mediumturquoise { 0xff48d1cc } |
const Colour | mediumvioletred { 0xffc71585 } |
const Colour | midnightblue { 0xff191970 } |
const Colour | mintcream { 0xfff5fffa } |
const Colour | mistyrose { 0xffffe4e1 } |
const Colour | moccasin { 0xffffe4b5 } |
const Colour | navajowhite { 0xffffdead } |
const Colour | navy { 0xff000080 } |
const Colour | oldlace { 0xfffdf5e6 } |
const Colour | olive { 0xff808000 } |
const Colour | olivedrab { 0xff6b8e23 } |
const Colour | orange { 0xffffa500 } |
const Colour | orangered { 0xffff4500 } |
const Colour | orchid { 0xffda70d6 } |
const Colour | palegoldenrod { 0xffeee8aa } |
const Colour | palegreen { 0xff98fb98 } |
const Colour | paleturquoise { 0xffafeeee } |
const Colour | palevioletred { 0xffdb7093 } |
const Colour | papayawhip { 0xffffefd5 } |
const Colour | peachpuff { 0xffffdab9 } |
const Colour | peru { 0xffcd853f } |
const Colour | pink { 0xffffc0cb } |
const Colour | plum { 0xffdda0dd } |
const Colour | powderblue { 0xffb0e0e6 } |
const Colour | purple { 0xff800080 } |
const Colour | rebeccapurple { 0xff663399 } |
const Colour | red { 0xffff0000 } |
const Colour | rosybrown { 0xffbc8f8f } |
const Colour | royalblue { 0xff4169e1 } |
const Colour | saddlebrown { 0xff8b4513 } |
const Colour | salmon { 0xfffa8072 } |
const Colour | sandybrown { 0xfff4a460 } |
const Colour | seagreen { 0xff2e8b57 } |
const Colour | seashell { 0xfffff5ee } |
const Colour | sienna { 0xffa0522d } |
const Colour | silver { 0xffc0c0c0 } |
const Colour | skyblue { 0xff87ceeb } |
const Colour | slateblue { 0xff6a5acd } |
const Colour | slategrey { 0xff708090 } |
const Colour | snow { 0xfffffafa } |
const Colour | springgreen { 0xff00ff7f } |
const Colour | steelblue { 0xff4682b4 } |
const Colour | tan { 0xffd2b48c } |
const Colour | teal { 0xff008080 } |
const Colour | thistle { 0xffd8bfd8 } |
const Colour | tomato { 0xffff6347 } |
const Colour | turquoise { 0xff40e0d0 } |
const Colour | violet { 0xffee82ee } |
const Colour | wheat { 0xfff5deb3 } |
const Colour | white { 0xffffffff } |
const Colour | whitesmoke { 0xfff5f5f5 } |
const Colour | yellow { 0xffffff00 } |
const Colour | yellowgreen { 0xff9acd32 } |
Contains a set of predefined named colours (mostly standard HTML colours)
Attempts to look up a string in the list of known colour names, and return the appropriate colour.
A non-case-sensitive search is made of the list of predefined colours, and if a match is found, that colour is returned. If no match is found, the colour passed in as the defaultColour parameter is returned.
const Colour Colours::transparentBlack { 0 } |
const Colour Colours::transparentWhite { 0x00ffffff } |
const Colour Colours::aliceblue { 0xfff0f8ff } |
const Colour Colours::antiquewhite { 0xfffaebd7 } |
const Colour Colours::aqua { 0xff00ffff } |
const Colour Colours::aquamarine { 0xff7fffd4 } |
const Colour Colours::azure { 0xfff0ffff } |
const Colour Colours::beige { 0xfff5f5dc } |
const Colour Colours::bisque { 0xffffe4c4 } |
const Colour Colours::black { 0xff000000 } |
const Colour Colours::blanchedalmond { 0xffffebcd } |
const Colour Colours::blue { 0xff0000ff } |
const Colour Colours::blueviolet { 0xff8a2be2 } |
const Colour Colours::brown { 0xffa52a2a } |
const Colour Colours::burlywood { 0xffdeb887 } |
const Colour Colours::cadetblue { 0xff5f9ea0 } |
const Colour Colours::chartreuse { 0xff7fff00 } |
const Colour Colours::chocolate { 0xffd2691e } |
const Colour Colours::coral { 0xffff7f50 } |
const Colour Colours::cornflowerblue { 0xff6495ed } |
const Colour Colours::cornsilk { 0xfffff8dc } |
const Colour Colours::crimson { 0xffdc143c } |
const Colour Colours::cyan { 0xff00ffff } |
const Colour Colours::darkblue { 0xff00008b } |
const Colour Colours::darkcyan { 0xff008b8b } |
const Colour Colours::darkgoldenrod { 0xffb8860b } |
const Colour Colours::darkgrey { 0xff555555 } |
const Colour Colours::darkgreen { 0xff006400 } |
const Colour Colours::darkkhaki { 0xffbdb76b } |
const Colour Colours::darkmagenta { 0xff8b008b } |
const Colour Colours::darkolivegreen { 0xff556b2f } |
const Colour Colours::darkorange { 0xffff8c00 } |
const Colour Colours::darkorchid { 0xff9932cc } |
const Colour Colours::darkred { 0xff8b0000 } |
const Colour Colours::darksalmon { 0xffe9967a } |
const Colour Colours::darkseagreen { 0xff8fbc8f } |
const Colour Colours::darkslateblue { 0xff483d8b } |
const Colour Colours::darkslategrey { 0xff2f4f4f } |
const Colour Colours::darkturquoise { 0xff00ced1 } |
const Colour Colours::darkviolet { 0xff9400d3 } |
const Colour Colours::deeppink { 0xffff1493 } |
const Colour Colours::deepskyblue { 0xff00bfff } |
const Colour Colours::dimgrey { 0xff696969 } |
const Colour Colours::dodgerblue { 0xff1e90ff } |
const Colour Colours::firebrick { 0xffb22222 } |
const Colour Colours::floralwhite { 0xfffffaf0 } |
const Colour Colours::forestgreen { 0xff228b22 } |
const Colour Colours::fuchsia { 0xffff00ff } |
const Colour Colours::gainsboro { 0xffdcdcdc } |
const Colour Colours::ghostwhite { 0xfff8f8ff } |
const Colour Colours::gold { 0xffffd700 } |
const Colour Colours::goldenrod { 0xffdaa520 } |
const Colour Colours::grey { 0xff808080 } |
const Colour Colours::green { 0xff008000 } |
const Colour Colours::greenyellow { 0xffadff2f } |
const Colour Colours::honeydew { 0xfff0fff0 } |
const Colour Colours::hotpink { 0xffff69b4 } |
const Colour Colours::indianred { 0xffcd5c5c } |
const Colour Colours::indigo { 0xff4b0082 } |
const Colour Colours::ivory { 0xfffffff0 } |
const Colour Colours::khaki { 0xfff0e68c } |
const Colour Colours::lavender { 0xffe6e6fa } |
const Colour Colours::lavenderblush { 0xfffff0f5 } |
const Colour Colours::lawngreen { 0xff7cfc00 } |
const Colour Colours::lemonchiffon { 0xfffffacd } |
const Colour Colours::lightblue { 0xffadd8e6 } |
const Colour Colours::lightcoral { 0xfff08080 } |
const Colour Colours::lightcyan { 0xffe0ffff } |
const Colour Colours::lightgoldenrodyellow { 0xfffafad2 } |
const Colour Colours::lightgreen { 0xff90ee90 } |
const Colour Colours::lightgrey { 0xffd3d3d3 } |
const Colour Colours::lightpink { 0xffffb6c1 } |
const Colour Colours::lightsalmon { 0xffffa07a } |
const Colour Colours::lightseagreen { 0xff20b2aa } |
const Colour Colours::lightskyblue { 0xff87cefa } |
const Colour Colours::lightslategrey { 0xff778899 } |
const Colour Colours::lightsteelblue { 0xffb0c4de } |
const Colour Colours::lightyellow { 0xffffffe0 } |
const Colour Colours::lime { 0xff00ff00 } |
const Colour Colours::limegreen { 0xff32cd32 } |
const Colour Colours::linen { 0xfffaf0e6 } |
const Colour Colours::magenta { 0xffff00ff } |
const Colour Colours::maroon { 0xff800000 } |
const Colour Colours::mediumaquamarine { 0xff66cdaa } |
const Colour Colours::mediumblue { 0xff0000cd } |
const Colour Colours::mediumorchid { 0xffba55d3 } |
const Colour Colours::mediumpurple { 0xff9370db } |
const Colour Colours::mediumseagreen { 0xff3cb371 } |
const Colour Colours::mediumslateblue { 0xff7b68ee } |
const Colour Colours::mediumspringgreen { 0xff00fa9a } |
const Colour Colours::mediumturquoise { 0xff48d1cc } |
const Colour Colours::mediumvioletred { 0xffc71585 } |
const Colour Colours::midnightblue { 0xff191970 } |
const Colour Colours::mintcream { 0xfff5fffa } |
const Colour Colours::mistyrose { 0xffffe4e1 } |
const Colour Colours::moccasin { 0xffffe4b5 } |
const Colour Colours::navajowhite { 0xffffdead } |
const Colour Colours::navy { 0xff000080 } |
const Colour Colours::oldlace { 0xfffdf5e6 } |
const Colour Colours::olive { 0xff808000 } |
const Colour Colours::olivedrab { 0xff6b8e23 } |
const Colour Colours::orange { 0xffffa500 } |
const Colour Colours::orangered { 0xffff4500 } |
const Colour Colours::orchid { 0xffda70d6 } |
const Colour Colours::palegoldenrod { 0xffeee8aa } |
const Colour Colours::palegreen { 0xff98fb98 } |
const Colour Colours::paleturquoise { 0xffafeeee } |
const Colour Colours::palevioletred { 0xffdb7093 } |
const Colour Colours::papayawhip { 0xffffefd5 } |
const Colour Colours::peachpuff { 0xffffdab9 } |
const Colour Colours::peru { 0xffcd853f } |
const Colour Colours::pink { 0xffffc0cb } |
const Colour Colours::plum { 0xffdda0dd } |
const Colour Colours::powderblue { 0xffb0e0e6 } |
const Colour Colours::purple { 0xff800080 } |
const Colour Colours::rebeccapurple { 0xff663399 } |
const Colour Colours::red { 0xffff0000 } |
const Colour Colours::rosybrown { 0xffbc8f8f } |
const Colour Colours::royalblue { 0xff4169e1 } |
const Colour Colours::saddlebrown { 0xff8b4513 } |
const Colour Colours::salmon { 0xfffa8072 } |
const Colour Colours::sandybrown { 0xfff4a460 } |
const Colour Colours::seagreen { 0xff2e8b57 } |
const Colour Colours::seashell { 0xfffff5ee } |
const Colour Colours::sienna { 0xffa0522d } |
const Colour Colours::silver { 0xffc0c0c0 } |
const Colour Colours::skyblue { 0xff87ceeb } |
const Colour Colours::slateblue { 0xff6a5acd } |
const Colour Colours::slategrey { 0xff708090 } |
const Colour Colours::snow { 0xfffffafa } |
const Colour Colours::springgreen { 0xff00ff7f } |
const Colour Colours::steelblue { 0xff4682b4 } |
const Colour Colours::tan { 0xffd2b48c } |
const Colour Colours::teal { 0xff008080 } |
const Colour Colours::thistle { 0xffd8bfd8 } |
const Colour Colours::tomato { 0xffff6347 } |
const Colour Colours::turquoise { 0xff40e0d0 } |
const Colour Colours::violet { 0xffee82ee } |
const Colour Colours::wheat { 0xfff5deb3 } |
const Colour Colours::white { 0xffffffff } |
const Colour Colours::whitesmoke { 0xfff5f5f5 } |
const Colour Colours::yellow { 0xffffff00 } |
const Colour Colours::yellowgreen { 0xff9acd32 } |