JUCE
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
Static Public Member Functions | Static Public Attributes | List of all members
Colours Class Reference

Contains a set of predefined named colours (mostly standard HTML colours) More...

Static Public Member Functions

static 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.
 

Static Public Attributes

static JUCE_API const Colour transparentBlack
 ARGB = 0x00000000.
 
static JUCE_API const Colour transparentWhite
 ARGB = 0x00ffffff.
 
static JUCE_API const Colour black
 ARGB = 0xff000000.
 
static JUCE_API const Colour white
 ARGB = 0xffffffff.
 
static JUCE_API const Colour blue
 ARGB = 0xff0000ff.
 
static JUCE_API const Colour grey
 ARGB = 0xff808080.
 
static JUCE_API const Colour green
 ARGB = 0xff008000.
 
static JUCE_API const Colour red
 ARGB = 0xffff0000.
 
static JUCE_API const Colour yellow
 ARGB = 0xffffff00.
 
static JUCE_API const Colour aliceblue
 
static JUCE_API const Colour antiquewhite
 
static JUCE_API const Colour aqua
 
static JUCE_API const Colour aquamarine
 
static JUCE_API const Colour azure
 
static JUCE_API const Colour beige
 
static JUCE_API const Colour bisque
 
static JUCE_API const Colour blanchedalmond
 
static JUCE_API const Colour blueviolet
 
static JUCE_API const Colour brown
 
static JUCE_API const Colour burlywood
 
static JUCE_API const Colour cadetblue
 
static JUCE_API const Colour chartreuse
 
static JUCE_API const Colour chocolate
 
static JUCE_API const Colour coral
 
static JUCE_API const Colour cornflowerblue
 
static JUCE_API const Colour cornsilk
 
static JUCE_API const Colour crimson
 
static JUCE_API const Colour cyan
 
static JUCE_API const Colour darkblue
 
static JUCE_API const Colour darkcyan
 
static JUCE_API const Colour darkgoldenrod
 
static JUCE_API const Colour darkgrey
 
static JUCE_API const Colour darkgreen
 
static JUCE_API const Colour darkkhaki
 
static JUCE_API const Colour darkmagenta
 
static JUCE_API const Colour darkolivegreen
 
static JUCE_API const Colour darkorange
 
static JUCE_API const Colour darkorchid
 
static JUCE_API const Colour darkred
 
static JUCE_API const Colour darksalmon
 
static JUCE_API const Colour darkseagreen
 
static JUCE_API const Colour darkslateblue
 
static JUCE_API const Colour darkslategrey
 
static JUCE_API const Colour darkturquoise
 
static JUCE_API const Colour darkviolet
 
static JUCE_API const Colour deeppink
 
static JUCE_API const Colour deepskyblue
 
static JUCE_API const Colour dimgrey
 
static JUCE_API const Colour dodgerblue
 
static JUCE_API const Colour firebrick
 
static JUCE_API const Colour floralwhite
 
static JUCE_API const Colour forestgreen
 
static JUCE_API const Colour fuchsia
 
static JUCE_API const Colour gainsboro
 
static JUCE_API const Colour gold
 
static JUCE_API const Colour goldenrod
 
static JUCE_API const Colour greenyellow
 
static JUCE_API const Colour honeydew
 
static JUCE_API const Colour hotpink
 
static JUCE_API const Colour indianred
 
static JUCE_API const Colour indigo
 
static JUCE_API const Colour ivory
 
static JUCE_API const Colour khaki
 
static JUCE_API const Colour lavender
 
static JUCE_API const Colour lavenderblush
 
static JUCE_API const Colour lemonchiffon
 
static JUCE_API const Colour lightblue
 
static JUCE_API const Colour lightcoral
 
static JUCE_API const Colour lightcyan
 
static JUCE_API const Colour lightgoldenrodyellow
 
static JUCE_API const Colour lightgreen
 
static JUCE_API const Colour lightgrey
 
static JUCE_API const Colour lightpink
 
static JUCE_API const Colour lightsalmon
 
static JUCE_API const Colour lightseagreen
 
static JUCE_API const Colour lightskyblue
 
static JUCE_API const Colour lightslategrey
 
static JUCE_API const Colour lightsteelblue
 
static JUCE_API const Colour lightyellow
 
static JUCE_API const Colour lime
 
static JUCE_API const Colour limegreen
 
static JUCE_API const Colour linen
 
static JUCE_API const Colour magenta
 
static JUCE_API const Colour maroon
 
static JUCE_API const Colour mediumaquamarine
 
static JUCE_API const Colour mediumblue
 
static JUCE_API const Colour mediumorchid
 
static JUCE_API const Colour mediumpurple
 
static JUCE_API const Colour mediumseagreen
 
static JUCE_API const Colour mediumslateblue
 
static JUCE_API const Colour mediumspringgreen
 
static JUCE_API const Colour mediumturquoise
 
static JUCE_API const Colour mediumvioletred
 
static JUCE_API const Colour midnightblue
 
static JUCE_API const Colour mintcream
 
static JUCE_API const Colour mistyrose
 
static JUCE_API const Colour navajowhite
 
static JUCE_API const Colour navy
 
static JUCE_API const Colour oldlace
 
static JUCE_API const Colour olive
 
static JUCE_API const Colour olivedrab
 
static JUCE_API const Colour orange
 
static JUCE_API const Colour orangered
 
static JUCE_API const Colour orchid
 
static JUCE_API const Colour palegoldenrod
 
static JUCE_API const Colour palegreen
 
static JUCE_API const Colour paleturquoise
 
static JUCE_API const Colour palevioletred
 
static JUCE_API const Colour papayawhip
 
static JUCE_API const Colour peachpuff
 
static JUCE_API const Colour peru
 
static JUCE_API const Colour pink
 
static JUCE_API const Colour plum
 
static JUCE_API const Colour powderblue
 
static JUCE_API const Colour purple
 
static JUCE_API const Colour rosybrown
 
static JUCE_API const Colour royalblue
 
static JUCE_API const Colour saddlebrown
 
static JUCE_API const Colour salmon
 
static JUCE_API const Colour sandybrown
 
static JUCE_API const Colour seagreen
 
static JUCE_API const Colour seashell
 
static JUCE_API const Colour sienna
 
static JUCE_API const Colour silver
 
static JUCE_API const Colour skyblue
 
static JUCE_API const Colour slateblue
 
static JUCE_API const Colour slategrey
 
static JUCE_API const Colour snow
 
static JUCE_API const Colour springgreen
 
static JUCE_API const Colour steelblue
 
static JUCE_API const Colour tan
 
static JUCE_API const Colour teal
 
static JUCE_API const Colour thistle
 
static JUCE_API const Colour tomato
 
static JUCE_API const Colour turquoise
 
static JUCE_API const Colour violet
 
static JUCE_API const Colour wheat
 
static JUCE_API const Colour whitesmoke
 
static JUCE_API const Colour yellowgreen
 

Detailed Description

Contains a set of predefined named colours (mostly standard HTML colours)

See Also
Colour, Colours::greyLevel

Member Function Documentation

static JUCE_API Colour Colours::findColourForName ( const String colourName,
Colour  defaultColour 
)
static

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.

Member Data Documentation

JUCE_API const Colour Colours::transparentBlack
static

ARGB = 0x00000000.

JUCE_API const Colour Colours::transparentWhite
static

ARGB = 0x00ffffff.

JUCE_API const Colour Colours::black
static

ARGB = 0xff000000.

JUCE_API const Colour Colours::white
static

ARGB = 0xffffffff.

JUCE_API const Colour Colours::blue
static

ARGB = 0xff0000ff.

JUCE_API const Colour Colours::grey
static

ARGB = 0xff808080.

JUCE_API const Colour Colours::green
static

ARGB = 0xff008000.

JUCE_API const Colour Colours::red
static

ARGB = 0xffff0000.

JUCE_API const Colour Colours::yellow
static

ARGB = 0xffffff00.

JUCE_API const Colour Colours::aliceblue
static
JUCE_API const Colour Colours::antiquewhite
static
JUCE_API const Colour Colours::aqua
static
JUCE_API const Colour Colours::aquamarine
static
JUCE_API const Colour Colours::azure
static
JUCE_API const Colour Colours::beige
static
JUCE_API const Colour Colours::bisque
static
JUCE_API const Colour Colours::blanchedalmond
static
JUCE_API const Colour Colours::blueviolet
static
JUCE_API const Colour Colours::brown
static
JUCE_API const Colour Colours::burlywood
static
JUCE_API const Colour Colours::cadetblue
static
JUCE_API const Colour Colours::chartreuse
static
JUCE_API const Colour Colours::chocolate
static
JUCE_API const Colour Colours::coral
static
JUCE_API const Colour Colours::cornflowerblue
static
JUCE_API const Colour Colours::cornsilk
static
JUCE_API const Colour Colours::crimson
static
JUCE_API const Colour Colours::cyan
static
JUCE_API const Colour Colours::darkblue
static
JUCE_API const Colour Colours::darkcyan
static
JUCE_API const Colour Colours::darkgoldenrod
static
JUCE_API const Colour Colours::darkgrey
static
JUCE_API const Colour Colours::darkgreen
static
JUCE_API const Colour Colours::darkkhaki
static
JUCE_API const Colour Colours::darkmagenta
static
JUCE_API const Colour Colours::darkolivegreen
static
JUCE_API const Colour Colours::darkorange
static
JUCE_API const Colour Colours::darkorchid
static
JUCE_API const Colour Colours::darkred
static
JUCE_API const Colour Colours::darksalmon
static
JUCE_API const Colour Colours::darkseagreen
static
JUCE_API const Colour Colours::darkslateblue
static
JUCE_API const Colour Colours::darkslategrey
static
JUCE_API const Colour Colours::darkturquoise
static
JUCE_API const Colour Colours::darkviolet
static
JUCE_API const Colour Colours::deeppink
static
JUCE_API const Colour Colours::deepskyblue
static
JUCE_API const Colour Colours::dimgrey
static
JUCE_API const Colour Colours::dodgerblue
static
JUCE_API const Colour Colours::firebrick
static
JUCE_API const Colour Colours::floralwhite
static
JUCE_API const Colour Colours::forestgreen
static
JUCE_API const Colour Colours::fuchsia
static
JUCE_API const Colour Colours::gainsboro
static
JUCE_API const Colour Colours::gold
static
JUCE_API const Colour Colours::goldenrod
static
JUCE_API const Colour Colours::greenyellow
static
JUCE_API const Colour Colours::honeydew
static
JUCE_API const Colour Colours::hotpink
static
JUCE_API const Colour Colours::indianred
static
JUCE_API const Colour Colours::indigo
static
JUCE_API const Colour Colours::ivory
static
JUCE_API const Colour Colours::khaki
static
JUCE_API const Colour Colours::lavender
static
JUCE_API const Colour Colours::lavenderblush
static
JUCE_API const Colour Colours::lemonchiffon
static
JUCE_API const Colour Colours::lightblue
static
JUCE_API const Colour Colours::lightcoral
static
JUCE_API const Colour Colours::lightcyan
static
JUCE_API const Colour Colours::lightgoldenrodyellow
static
JUCE_API const Colour Colours::lightgreen
static
JUCE_API const Colour Colours::lightgrey
static
JUCE_API const Colour Colours::lightpink
static
JUCE_API const Colour Colours::lightsalmon
static
JUCE_API const Colour Colours::lightseagreen
static
JUCE_API const Colour Colours::lightskyblue
static
JUCE_API const Colour Colours::lightslategrey
static
JUCE_API const Colour Colours::lightsteelblue
static
JUCE_API const Colour Colours::lightyellow
static
JUCE_API const Colour Colours::lime
static
JUCE_API const Colour Colours::limegreen
static
JUCE_API const Colour Colours::linen
static
JUCE_API const Colour Colours::magenta
static
JUCE_API const Colour Colours::maroon
static
JUCE_API const Colour Colours::mediumaquamarine
static
JUCE_API const Colour Colours::mediumblue
static
JUCE_API const Colour Colours::mediumorchid
static
JUCE_API const Colour Colours::mediumpurple
static
JUCE_API const Colour Colours::mediumseagreen
static
JUCE_API const Colour Colours::mediumslateblue
static
JUCE_API const Colour Colours::mediumspringgreen
static
JUCE_API const Colour Colours::mediumturquoise
static
JUCE_API const Colour Colours::mediumvioletred
static
JUCE_API const Colour Colours::midnightblue
static
JUCE_API const Colour Colours::mintcream
static
JUCE_API const Colour Colours::mistyrose
static
JUCE_API const Colour Colours::navajowhite
static
JUCE_API const Colour Colours::navy
static
JUCE_API const Colour Colours::oldlace
static
JUCE_API const Colour Colours::olive
static
JUCE_API const Colour Colours::olivedrab
static
JUCE_API const Colour Colours::orange
static
JUCE_API const Colour Colours::orangered
static
JUCE_API const Colour Colours::orchid
static
JUCE_API const Colour Colours::palegoldenrod
static
JUCE_API const Colour Colours::palegreen
static
JUCE_API const Colour Colours::paleturquoise
static
JUCE_API const Colour Colours::palevioletred
static
JUCE_API const Colour Colours::papayawhip
static
JUCE_API const Colour Colours::peachpuff
static
JUCE_API const Colour Colours::peru
static
JUCE_API const Colour Colours::pink
static
JUCE_API const Colour Colours::plum
static
JUCE_API const Colour Colours::powderblue
static
JUCE_API const Colour Colours::purple
static
JUCE_API const Colour Colours::rosybrown
static
JUCE_API const Colour Colours::royalblue
static
JUCE_API const Colour Colours::saddlebrown
static
JUCE_API const Colour Colours::salmon
static
JUCE_API const Colour Colours::sandybrown
static
JUCE_API const Colour Colours::seagreen
static
JUCE_API const Colour Colours::seashell
static
JUCE_API const Colour Colours::sienna
static
JUCE_API const Colour Colours::silver
static
JUCE_API const Colour Colours::skyblue
static
JUCE_API const Colour Colours::slateblue
static
JUCE_API const Colour Colours::slategrey
static
JUCE_API const Colour Colours::snow
static
JUCE_API const Colour Colours::springgreen
static
JUCE_API const Colour Colours::steelblue
static
JUCE_API const Colour Colours::tan
static
JUCE_API const Colour Colours::teal
static
JUCE_API const Colour Colours::thistle
static
JUCE_API const Colour Colours::tomato
static
JUCE_API const Colour Colours::turquoise
static
JUCE_API const Colour Colours::violet
static
JUCE_API const Colour Colours::wheat
static
JUCE_API const Colour Colours::whitesmoke
static
JUCE_API const Colour Colours::yellowgreen
static

The documentation for this class was generated from the following file: