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

Static Public Attributes

static JUCE_API const Colour transparentBlack
 ARGB = 0x00000000. More...
 
static JUCE_API const Colour transparentWhite
 ARGB = 0x00ffffff. More...
 
static JUCE_API const Colour black
 ARGB = 0xff000000. More...
 
static JUCE_API const Colour white
 ARGB = 0xffffffff. More...
 
static JUCE_API const Colour blue
 ARGB = 0xff0000ff. More...
 
static JUCE_API const Colour grey
 ARGB = 0xff808080. More...
 
static JUCE_API const Colour green
 ARGB = 0xff008000. More...
 
static JUCE_API const Colour red
 ARGB = 0xffff0000. More...
 
static JUCE_API const Colour yellow
 ARGB = 0xffffff00. More...
 
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 ghostwhite
 
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 lawngreen
 
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 moccasin
 
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 rebeccapurple
 
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

Member Function Documentation

◆ findColourForName()

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

◆ transparentBlack

JUCE_API const Colour Colours::transparentBlack
static

ARGB = 0x00000000.

◆ transparentWhite

JUCE_API const Colour Colours::transparentWhite
static

ARGB = 0x00ffffff.

◆ black

JUCE_API const Colour Colours::black
static

ARGB = 0xff000000.

◆ white

JUCE_API const Colour Colours::white
static

ARGB = 0xffffffff.

◆ blue

JUCE_API const Colour Colours::blue
static

ARGB = 0xff0000ff.

◆ grey

JUCE_API const Colour Colours::grey
static

ARGB = 0xff808080.

◆ green

JUCE_API const Colour Colours::green
static

ARGB = 0xff008000.

◆ red

JUCE_API const Colour Colours::red
static

ARGB = 0xffff0000.

◆ yellow

JUCE_API const Colour Colours::yellow
static

ARGB = 0xffffff00.

◆ aliceblue

JUCE_API const Colour Colours::aliceblue
static

◆ antiquewhite

JUCE_API const Colour Colours::antiquewhite
static

◆ aqua

JUCE_API const Colour Colours::aqua
static

◆ aquamarine

JUCE_API const Colour Colours::aquamarine
static

◆ azure

JUCE_API const Colour Colours::azure
static

◆ beige

JUCE_API const Colour Colours::beige
static

◆ bisque

JUCE_API const Colour Colours::bisque
static

◆ blanchedalmond

JUCE_API const Colour Colours::blanchedalmond
static

◆ blueviolet

JUCE_API const Colour Colours::blueviolet
static

◆ brown

JUCE_API const Colour Colours::brown
static

◆ burlywood

JUCE_API const Colour Colours::burlywood
static

◆ cadetblue

JUCE_API const Colour Colours::cadetblue
static

◆ chartreuse

JUCE_API const Colour Colours::chartreuse
static

◆ chocolate

JUCE_API const Colour Colours::chocolate
static

◆ coral

JUCE_API const Colour Colours::coral
static

◆ cornflowerblue

JUCE_API const Colour Colours::cornflowerblue
static

◆ cornsilk

JUCE_API const Colour Colours::cornsilk
static

◆ crimson

JUCE_API const Colour Colours::crimson
static

◆ cyan

JUCE_API const Colour Colours::cyan
static

◆ darkblue

JUCE_API const Colour Colours::darkblue
static

◆ darkcyan

JUCE_API const Colour Colours::darkcyan
static

◆ darkgoldenrod

JUCE_API const Colour Colours::darkgoldenrod
static

◆ darkgrey

JUCE_API const Colour Colours::darkgrey
static

◆ darkgreen

JUCE_API const Colour Colours::darkgreen
static

◆ darkkhaki

JUCE_API const Colour Colours::darkkhaki
static

◆ darkmagenta

JUCE_API const Colour Colours::darkmagenta
static

◆ darkolivegreen

JUCE_API const Colour Colours::darkolivegreen
static

◆ darkorange

JUCE_API const Colour Colours::darkorange
static

◆ darkorchid

JUCE_API const Colour Colours::darkorchid
static

◆ darkred

JUCE_API const Colour Colours::darkred
static

◆ darksalmon

JUCE_API const Colour Colours::darksalmon
static

◆ darkseagreen

JUCE_API const Colour Colours::darkseagreen
static

◆ darkslateblue

JUCE_API const Colour Colours::darkslateblue
static

◆ darkslategrey

JUCE_API const Colour Colours::darkslategrey
static

◆ darkturquoise

JUCE_API const Colour Colours::darkturquoise
static

◆ darkviolet

JUCE_API const Colour Colours::darkviolet
static

◆ deeppink

JUCE_API const Colour Colours::deeppink
static

◆ deepskyblue

JUCE_API const Colour Colours::deepskyblue
static

◆ dimgrey

JUCE_API const Colour Colours::dimgrey
static

◆ dodgerblue

JUCE_API const Colour Colours::dodgerblue
static

◆ firebrick

JUCE_API const Colour Colours::firebrick
static

◆ floralwhite

JUCE_API const Colour Colours::floralwhite
static

◆ forestgreen

JUCE_API const Colour Colours::forestgreen
static

◆ fuchsia

JUCE_API const Colour Colours::fuchsia
static

◆ gainsboro

JUCE_API const Colour Colours::gainsboro
static

◆ ghostwhite

JUCE_API const Colour Colours::ghostwhite
static

◆ gold

JUCE_API const Colour Colours::gold
static

◆ goldenrod

JUCE_API const Colour Colours::goldenrod
static

◆ greenyellow

JUCE_API const Colour Colours::greenyellow
static

◆ honeydew

JUCE_API const Colour Colours::honeydew
static

◆ hotpink

JUCE_API const Colour Colours::hotpink
static

◆ indianred

JUCE_API const Colour Colours::indianred
static

◆ indigo

JUCE_API const Colour Colours::indigo
static

◆ ivory

JUCE_API const Colour Colours::ivory
static

◆ khaki

JUCE_API const Colour Colours::khaki
static

◆ lavender

JUCE_API const Colour Colours::lavender
static

◆ lavenderblush

JUCE_API const Colour Colours::lavenderblush
static

◆ lawngreen

JUCE_API const Colour Colours::lawngreen
static

◆ lemonchiffon

JUCE_API const Colour Colours::lemonchiffon
static

◆ lightblue

JUCE_API const Colour Colours::lightblue
static

◆ lightcoral

JUCE_API const Colour Colours::lightcoral
static

◆ lightcyan

JUCE_API const Colour Colours::lightcyan
static

◆ lightgoldenrodyellow

JUCE_API const Colour Colours::lightgoldenrodyellow
static

◆ lightgreen

JUCE_API const Colour Colours::lightgreen
static

◆ lightgrey

JUCE_API const Colour Colours::lightgrey
static

◆ lightpink

JUCE_API const Colour Colours::lightpink
static

◆ lightsalmon

JUCE_API const Colour Colours::lightsalmon
static

◆ lightseagreen

JUCE_API const Colour Colours::lightseagreen
static

◆ lightskyblue

JUCE_API const Colour Colours::lightskyblue
static

◆ lightslategrey

JUCE_API const Colour Colours::lightslategrey
static

◆ lightsteelblue

JUCE_API const Colour Colours::lightsteelblue
static

◆ lightyellow

JUCE_API const Colour Colours::lightyellow
static

◆ lime

JUCE_API const Colour Colours::lime
static

◆ limegreen

JUCE_API const Colour Colours::limegreen
static

◆ linen

JUCE_API const Colour Colours::linen
static

◆ magenta

JUCE_API const Colour Colours::magenta
static

◆ maroon

JUCE_API const Colour Colours::maroon
static

◆ mediumaquamarine

JUCE_API const Colour Colours::mediumaquamarine
static

◆ mediumblue

JUCE_API const Colour Colours::mediumblue
static

◆ mediumorchid

JUCE_API const Colour Colours::mediumorchid
static

◆ mediumpurple

JUCE_API const Colour Colours::mediumpurple
static

◆ mediumseagreen

JUCE_API const Colour Colours::mediumseagreen
static

◆ mediumslateblue

JUCE_API const Colour Colours::mediumslateblue
static

◆ mediumspringgreen

JUCE_API const Colour Colours::mediumspringgreen
static

◆ mediumturquoise

JUCE_API const Colour Colours::mediumturquoise
static

◆ mediumvioletred

JUCE_API const Colour Colours::mediumvioletred
static

◆ midnightblue

JUCE_API const Colour Colours::midnightblue
static

◆ mintcream

JUCE_API const Colour Colours::mintcream
static

◆ mistyrose

JUCE_API const Colour Colours::mistyrose
static

◆ moccasin

JUCE_API const Colour Colours::moccasin
static

◆ navajowhite

JUCE_API const Colour Colours::navajowhite
static

◆ navy

JUCE_API const Colour Colours::navy
static

◆ oldlace

JUCE_API const Colour Colours::oldlace
static

◆ olive

JUCE_API const Colour Colours::olive
static

◆ olivedrab

JUCE_API const Colour Colours::olivedrab
static

◆ orange

JUCE_API const Colour Colours::orange
static

◆ orangered

JUCE_API const Colour Colours::orangered
static

◆ orchid

JUCE_API const Colour Colours::orchid
static

◆ palegoldenrod

JUCE_API const Colour Colours::palegoldenrod
static

◆ palegreen

JUCE_API const Colour Colours::palegreen
static

◆ paleturquoise

JUCE_API const Colour Colours::paleturquoise
static

◆ palevioletred

JUCE_API const Colour Colours::palevioletred
static

◆ papayawhip

JUCE_API const Colour Colours::papayawhip
static

◆ peachpuff

JUCE_API const Colour Colours::peachpuff
static

◆ peru

JUCE_API const Colour Colours::peru
static

◆ pink

JUCE_API const Colour Colours::pink
static

◆ plum

JUCE_API const Colour Colours::plum
static

◆ powderblue

JUCE_API const Colour Colours::powderblue
static

◆ purple

JUCE_API const Colour Colours::purple
static

◆ rebeccapurple

JUCE_API const Colour Colours::rebeccapurple
static

◆ rosybrown

JUCE_API const Colour Colours::rosybrown
static

◆ royalblue

JUCE_API const Colour Colours::royalblue
static

◆ saddlebrown

JUCE_API const Colour Colours::saddlebrown
static

◆ salmon

JUCE_API const Colour Colours::salmon
static

◆ sandybrown

JUCE_API const Colour Colours::sandybrown
static

◆ seagreen

JUCE_API const Colour Colours::seagreen
static

◆ seashell

JUCE_API const Colour Colours::seashell
static

◆ sienna

JUCE_API const Colour Colours::sienna
static

◆ silver

JUCE_API const Colour Colours::silver
static

◆ skyblue

JUCE_API const Colour Colours::skyblue
static

◆ slateblue

JUCE_API const Colour Colours::slateblue
static

◆ slategrey

JUCE_API const Colour Colours::slategrey
static

◆ snow

JUCE_API const Colour Colours::snow
static

◆ springgreen

JUCE_API const Colour Colours::springgreen
static

◆ steelblue

JUCE_API const Colour Colours::steelblue
static

◆ tan

JUCE_API const Colour Colours::tan
static

◆ teal

JUCE_API const Colour Colours::teal
static

◆ thistle

JUCE_API const Colour Colours::thistle
static

◆ tomato

JUCE_API const Colour Colours::tomato
static

◆ turquoise

JUCE_API const Colour Colours::turquoise
static

◆ violet

JUCE_API const Colour Colours::violet
static

◆ wheat

JUCE_API const Colour Colours::wheat
static

◆ whitesmoke

JUCE_API const Colour Colours::whitesmoke
static

◆ yellowgreen

JUCE_API const Colour Colours::yellowgreen
static

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