JUCE  v5.1.1-3-g1a0b28c73
JUCE API
Colours Class Reference

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

#include <juce_Colours.h>

Collaboration diagram for Colours:

Static Public Member Functions

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

Private Member Functions

 Colours ()
 

Detailed Description

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

See also
Colour, Colours::greyLevel

Constructor & Destructor Documentation

◆ Colours()

Colours::Colours ( )
private

Member Function Documentation

◆ findColourForName()

static 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

◆ aliceblue

const Colour Colours::aliceblue
static

◆ antiquewhite

const Colour Colours::antiquewhite
static

◆ aqua

const Colour Colours::aqua
static

◆ aquamarine

const Colour Colours::aquamarine
static

◆ azure

const Colour Colours::azure
static

◆ beige

const Colour Colours::beige
static

◆ bisque

const Colour Colours::bisque
static

◆ black

◆ blanchedalmond

const Colour Colours::blanchedalmond
static

◆ blue

const Colour Colours::blue
static

ARGB = 0xff0000ff.

◆ blueviolet

const Colour Colours::blueviolet
static

◆ brown

const Colour Colours::brown
static

◆ burlywood

const Colour Colours::burlywood
static

◆ cadetblue

const Colour Colours::cadetblue
static

◆ chartreuse

const Colour Colours::chartreuse
static

◆ chocolate

const Colour Colours::chocolate
static

◆ coral

const Colour Colours::coral
static

◆ cornflowerblue

const Colour Colours::cornflowerblue
static

◆ cornsilk

const Colour Colours::cornsilk
static

◆ crimson

const Colour Colours::crimson
static

◆ cyan

const Colour Colours::cyan
static

◆ darkblue

const Colour Colours::darkblue
static

◆ darkcyan

const Colour Colours::darkcyan
static

◆ darkgoldenrod

const Colour Colours::darkgoldenrod
static

◆ darkgreen

const Colour Colours::darkgreen
static

◆ darkgrey

const Colour Colours::darkgrey
static

◆ darkkhaki

const Colour Colours::darkkhaki
static

◆ darkmagenta

const Colour Colours::darkmagenta
static

◆ darkolivegreen

const Colour Colours::darkolivegreen
static

◆ darkorange

const Colour Colours::darkorange
static

◆ darkorchid

const Colour Colours::darkorchid
static

◆ darkred

const Colour Colours::darkred
static

◆ darksalmon

const Colour Colours::darksalmon
static

◆ darkseagreen

const Colour Colours::darkseagreen
static

◆ darkslateblue

const Colour Colours::darkslateblue
static

◆ darkslategrey

const Colour Colours::darkslategrey
static

◆ darkturquoise

const Colour Colours::darkturquoise
static

◆ darkviolet

const Colour Colours::darkviolet
static

◆ deeppink

const Colour Colours::deeppink
static

◆ deepskyblue

const Colour Colours::deepskyblue
static

◆ dimgrey

const Colour Colours::dimgrey
static

◆ dodgerblue

const Colour Colours::dodgerblue
static

◆ firebrick

const Colour Colours::firebrick
static

◆ floralwhite

const Colour Colours::floralwhite
static

◆ forestgreen

const Colour Colours::forestgreen
static

◆ fuchsia

const Colour Colours::fuchsia
static

◆ gainsboro

const Colour Colours::gainsboro
static

◆ gold

const Colour Colours::gold
static

◆ goldenrod

const Colour Colours::goldenrod
static

◆ green

const Colour Colours::green
static

ARGB = 0xff008000.

◆ greenyellow

const Colour Colours::greenyellow
static

◆ grey

const Colour Colours::grey
static

ARGB = 0xff808080.

Referenced by VideoComponent::Pimpl::paint().

◆ honeydew

const Colour Colours::honeydew
static

◆ hotpink

const Colour Colours::hotpink
static

◆ indianred

const Colour Colours::indianred
static

◆ indigo

const Colour Colours::indigo
static

◆ ivory

const Colour Colours::ivory
static

◆ khaki

const Colour Colours::khaki
static

◆ lavender

const Colour Colours::lavender
static

◆ lavenderblush

const Colour Colours::lavenderblush
static

◆ lemonchiffon

const Colour Colours::lemonchiffon
static

◆ lightblue

const Colour Colours::lightblue
static

◆ lightcoral

const Colour Colours::lightcoral
static

◆ lightcyan

const Colour Colours::lightcyan
static

◆ lightgoldenrodyellow

const Colour Colours::lightgoldenrodyellow
static

◆ lightgreen

const Colour Colours::lightgreen
static

◆ lightgrey

const Colour Colours::lightgrey
static

◆ lightpink

const Colour Colours::lightpink
static

◆ lightsalmon

const Colour Colours::lightsalmon
static

◆ lightseagreen

const Colour Colours::lightseagreen
static

◆ lightskyblue

const Colour Colours::lightskyblue
static

◆ lightslategrey

const Colour Colours::lightslategrey
static

◆ lightsteelblue

const Colour Colours::lightsteelblue
static

◆ lightyellow

const Colour Colours::lightyellow
static

◆ lime

const Colour Colours::lime
static

◆ limegreen

const Colour Colours::limegreen
static

◆ linen

const Colour Colours::linen
static

◆ magenta

const Colour Colours::magenta
static

◆ maroon

const Colour Colours::maroon
static

◆ mediumaquamarine

const Colour Colours::mediumaquamarine
static

◆ mediumblue

const Colour Colours::mediumblue
static

◆ mediumorchid

const Colour Colours::mediumorchid
static

◆ mediumpurple

const Colour Colours::mediumpurple
static

◆ mediumseagreen

const Colour Colours::mediumseagreen
static

◆ mediumslateblue

const Colour Colours::mediumslateblue
static

◆ mediumspringgreen

const Colour Colours::mediumspringgreen
static

◆ mediumturquoise

const Colour Colours::mediumturquoise
static

◆ mediumvioletred

const Colour Colours::mediumvioletred
static

◆ midnightblue

const Colour Colours::midnightblue
static

◆ mintcream

const Colour Colours::mintcream
static

◆ mistyrose

const Colour Colours::mistyrose
static

◆ navajowhite

const Colour Colours::navajowhite
static

◆ navy

const Colour Colours::navy
static

◆ oldlace

const Colour Colours::oldlace
static

◆ olive

const Colour Colours::olive
static

◆ olivedrab

const Colour Colours::olivedrab
static

◆ orange

const Colour Colours::orange
static

◆ orangered

const Colour Colours::orangered
static

◆ orchid

const Colour Colours::orchid
static

◆ palegoldenrod

const Colour Colours::palegoldenrod
static

◆ palegreen

const Colour Colours::palegreen
static

◆ paleturquoise

const Colour Colours::paleturquoise
static

◆ palevioletred

const Colour Colours::palevioletred
static

◆ papayawhip

const Colour Colours::papayawhip
static

◆ peachpuff

const Colour Colours::peachpuff
static

◆ peru

const Colour Colours::peru
static

◆ pink

const Colour Colours::pink
static

◆ plum

const Colour Colours::plum
static

◆ powderblue

const Colour Colours::powderblue
static

◆ purple

const Colour Colours::purple
static

◆ red

const Colour Colours::red
static

ARGB = 0xffff0000.

◆ rosybrown

const Colour Colours::rosybrown
static

◆ royalblue

const Colour Colours::royalblue
static

◆ saddlebrown

const Colour Colours::saddlebrown
static

◆ salmon

const Colour Colours::salmon
static

◆ sandybrown

const Colour Colours::sandybrown
static

◆ seagreen

const Colour Colours::seagreen
static

◆ seashell

const Colour Colours::seashell
static

◆ sienna

const Colour Colours::sienna
static

◆ silver

const Colour Colours::silver
static

◆ skyblue

const Colour Colours::skyblue
static

◆ slateblue

const Colour Colours::slateblue
static

◆ slategrey

const Colour Colours::slategrey
static

◆ snow

const Colour Colours::snow
static

◆ springgreen

const Colour Colours::springgreen
static

◆ steelblue

const Colour Colours::steelblue
static

◆ tan

const Colour Colours::tan
static

◆ teal

const Colour Colours::teal
static

◆ thistle

const Colour Colours::thistle
static

◆ tomato

const Colour Colours::tomato
static

◆ transparentBlack

const Colour Colours::transparentBlack
static

ARGB = 0x00000000.

◆ transparentWhite

const Colour Colours::transparentWhite
static

ARGB = 0x00ffffff.

◆ turquoise

const Colour Colours::turquoise
static

◆ violet

const Colour Colours::violet
static

◆ wheat

const Colour Colours::wheat
static

◆ white

const Colour Colours::white
static

ARGB = 0xffffffff.

◆ whitesmoke

const Colour Colours::whitesmoke
static

◆ yellow

const Colour Colours::yellow
static

ARGB = 0xffffff00.

◆ yellowgreen

const Colour Colours::yellowgreen
static

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