JUCE  v5.4.1-191-g0ab5e696f
JUCE API
Looking for a senior C++ dev?
I'm looking for work. Hire me!
juce::Colours Class Reference

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

#include <juce_Colours.h>

Collaboration diagram for juce::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 ghostwhite
 
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 lawngreen
 
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 moccasin
 
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 rebeccapurple
 
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

{Graphics}

Constructor & Destructor Documentation

◆ Colours()

juce::Colours::Colours ( )
private

Member Function Documentation

◆ findColourForName()

static Colour juce::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 juce::Colours::aliceblue
static

◆ antiquewhite

const Colour juce::Colours::antiquewhite
static

◆ aqua

const Colour juce::Colours::aqua
static

◆ aquamarine

const Colour juce::Colours::aquamarine
static

◆ azure

const Colour juce::Colours::azure
static

◆ beige

const Colour juce::Colours::beige
static

◆ bisque

const Colour juce::Colours::bisque
static

◆ black

const Colour juce::Colours::black
static

◆ blanchedalmond

const Colour juce::Colours::blanchedalmond
static

◆ blue

const Colour juce::Colours::blue
static

ARGB = 0xff0000ff.

◆ blueviolet

const Colour juce::Colours::blueviolet
static

◆ brown

const Colour juce::Colours::brown
static

◆ burlywood

const Colour juce::Colours::burlywood
static

◆ cadetblue

const Colour juce::Colours::cadetblue
static

◆ chartreuse

const Colour juce::Colours::chartreuse
static

◆ chocolate

const Colour juce::Colours::chocolate
static

◆ coral

const Colour juce::Colours::coral
static

◆ cornflowerblue

const Colour juce::Colours::cornflowerblue
static

◆ cornsilk

const Colour juce::Colours::cornsilk
static

◆ crimson

const Colour juce::Colours::crimson
static

◆ cyan

const Colour juce::Colours::cyan
static

◆ darkblue

const Colour juce::Colours::darkblue
static

◆ darkcyan

const Colour juce::Colours::darkcyan
static

◆ darkgoldenrod

const Colour juce::Colours::darkgoldenrod
static

◆ darkgreen

const Colour juce::Colours::darkgreen
static

◆ darkgrey

const Colour juce::Colours::darkgrey
static

◆ darkkhaki

const Colour juce::Colours::darkkhaki
static

◆ darkmagenta

const Colour juce::Colours::darkmagenta
static

◆ darkolivegreen

const Colour juce::Colours::darkolivegreen
static

◆ darkorange

const Colour juce::Colours::darkorange
static

◆ darkorchid

const Colour juce::Colours::darkorchid
static

◆ darkred

const Colour juce::Colours::darkred
static

◆ darksalmon

const Colour juce::Colours::darksalmon
static

◆ darkseagreen

const Colour juce::Colours::darkseagreen
static

◆ darkslateblue

const Colour juce::Colours::darkslateblue
static

◆ darkslategrey

const Colour juce::Colours::darkslategrey
static

◆ darkturquoise

const Colour juce::Colours::darkturquoise
static

◆ darkviolet

const Colour juce::Colours::darkviolet
static

◆ deeppink

const Colour juce::Colours::deeppink
static

◆ deepskyblue

const Colour juce::Colours::deepskyblue
static

◆ dimgrey

const Colour juce::Colours::dimgrey
static

◆ dodgerblue

const Colour juce::Colours::dodgerblue
static

◆ firebrick

const Colour juce::Colours::firebrick
static

◆ floralwhite

const Colour juce::Colours::floralwhite
static

◆ forestgreen

const Colour juce::Colours::forestgreen
static

◆ fuchsia

const Colour juce::Colours::fuchsia
static

◆ gainsboro

const Colour juce::Colours::gainsboro
static

◆ ghostwhite

const Colour juce::Colours::ghostwhite
static

◆ gold

const Colour juce::Colours::gold
static

◆ goldenrod

const Colour juce::Colours::goldenrod
static

◆ green

const Colour juce::Colours::green
static

ARGB = 0xff008000.

◆ greenyellow

const Colour juce::Colours::greenyellow
static

◆ grey

const Colour juce::Colours::grey
static

ARGB = 0xff808080.

◆ honeydew

const Colour juce::Colours::honeydew
static

◆ hotpink

const Colour juce::Colours::hotpink
static

◆ indianred

const Colour juce::Colours::indianred
static

◆ indigo

const Colour juce::Colours::indigo
static

◆ ivory

const Colour juce::Colours::ivory
static

◆ khaki

const Colour juce::Colours::khaki
static

◆ lavender

const Colour juce::Colours::lavender
static

◆ lavenderblush

const Colour juce::Colours::lavenderblush
static

◆ lawngreen

const Colour juce::Colours::lawngreen
static

◆ lemonchiffon

const Colour juce::Colours::lemonchiffon
static

◆ lightblue

const Colour juce::Colours::lightblue
static

◆ lightcoral

const Colour juce::Colours::lightcoral
static

◆ lightcyan

const Colour juce::Colours::lightcyan
static

◆ lightgoldenrodyellow

const Colour juce::Colours::lightgoldenrodyellow
static

◆ lightgreen

const Colour juce::Colours::lightgreen
static

◆ lightgrey

const Colour juce::Colours::lightgrey
static

◆ lightpink

const Colour juce::Colours::lightpink
static

◆ lightsalmon

const Colour juce::Colours::lightsalmon
static

◆ lightseagreen

const Colour juce::Colours::lightseagreen
static

◆ lightskyblue

const Colour juce::Colours::lightskyblue
static

◆ lightslategrey

const Colour juce::Colours::lightslategrey
static

◆ lightsteelblue

const Colour juce::Colours::lightsteelblue
static

◆ lightyellow

const Colour juce::Colours::lightyellow
static

◆ lime

const Colour juce::Colours::lime
static

◆ limegreen

const Colour juce::Colours::limegreen
static

◆ linen

const Colour juce::Colours::linen
static

◆ magenta

const Colour juce::Colours::magenta
static

◆ maroon

const Colour juce::Colours::maroon
static

◆ mediumaquamarine

const Colour juce::Colours::mediumaquamarine
static

◆ mediumblue

const Colour juce::Colours::mediumblue
static

◆ mediumorchid

const Colour juce::Colours::mediumorchid
static

◆ mediumpurple

const Colour juce::Colours::mediumpurple
static

◆ mediumseagreen

const Colour juce::Colours::mediumseagreen
static

◆ mediumslateblue

const Colour juce::Colours::mediumslateblue
static

◆ mediumspringgreen

const Colour juce::Colours::mediumspringgreen
static

◆ mediumturquoise

const Colour juce::Colours::mediumturquoise
static

◆ mediumvioletred

const Colour juce::Colours::mediumvioletred
static

◆ midnightblue

const Colour juce::Colours::midnightblue
static

◆ mintcream

const Colour juce::Colours::mintcream
static

◆ mistyrose

const Colour juce::Colours::mistyrose
static

◆ moccasin

const Colour juce::Colours::moccasin
static

◆ navajowhite

const Colour juce::Colours::navajowhite
static

◆ navy

const Colour juce::Colours::navy
static

◆ oldlace

const Colour juce::Colours::oldlace
static

◆ olive

const Colour juce::Colours::olive
static

◆ olivedrab

const Colour juce::Colours::olivedrab
static

◆ orange

const Colour juce::Colours::orange
static

◆ orangered

const Colour juce::Colours::orangered
static

◆ orchid

const Colour juce::Colours::orchid
static

◆ palegoldenrod

const Colour juce::Colours::palegoldenrod
static

◆ palegreen

const Colour juce::Colours::palegreen
static

◆ paleturquoise

const Colour juce::Colours::paleturquoise
static

◆ palevioletred

const Colour juce::Colours::palevioletred
static

◆ papayawhip

const Colour juce::Colours::papayawhip
static

◆ peachpuff

const Colour juce::Colours::peachpuff
static

◆ peru

const Colour juce::Colours::peru
static

◆ pink

const Colour juce::Colours::pink
static

◆ plum

const Colour juce::Colours::plum
static

◆ powderblue

const Colour juce::Colours::powderblue
static

◆ purple

const Colour juce::Colours::purple
static

◆ rebeccapurple

const Colour juce::Colours::rebeccapurple
static

◆ red

const Colour juce::Colours::red
static

ARGB = 0xffff0000.

◆ rosybrown

const Colour juce::Colours::rosybrown
static

◆ royalblue

const Colour juce::Colours::royalblue
static

◆ saddlebrown

const Colour juce::Colours::saddlebrown
static

◆ salmon

const Colour juce::Colours::salmon
static

◆ sandybrown

const Colour juce::Colours::sandybrown
static

◆ seagreen

const Colour juce::Colours::seagreen
static

◆ seashell

const Colour juce::Colours::seashell
static

◆ sienna

const Colour juce::Colours::sienna
static

◆ silver

const Colour juce::Colours::silver
static

◆ skyblue

const Colour juce::Colours::skyblue
static

◆ slateblue

const Colour juce::Colours::slateblue
static

◆ slategrey

const Colour juce::Colours::slategrey
static

◆ snow

const Colour juce::Colours::snow
static

◆ springgreen

const Colour juce::Colours::springgreen
static

◆ steelblue

const Colour juce::Colours::steelblue
static

◆ tan

const Colour juce::Colours::tan
static

◆ teal

const Colour juce::Colours::teal
static

◆ thistle

const Colour juce::Colours::thistle
static

◆ tomato

const Colour juce::Colours::tomato
static

◆ transparentBlack

const Colour juce::Colours::transparentBlack
static

ARGB = 0x00000000.

◆ transparentWhite

const Colour juce::Colours::transparentWhite
static

ARGB = 0x00ffffff.

◆ turquoise

const Colour juce::Colours::turquoise
static

◆ violet

const Colour juce::Colours::violet
static

◆ wheat

const Colour juce::Colours::wheat
static

◆ white

const Colour juce::Colours::white
static

ARGB = 0xffffffff.

◆ whitesmoke

const Colour juce::Colours::whitesmoke
static

◆ yellow

const Colour juce::Colours::yellow
static

ARGB = 0xffffff00.

◆ yellowgreen

const Colour juce::Colours::yellowgreen
static

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