20 #ifndef COLOURS_H_INCLUDED
21 #define COLOURS_H_INCLUDED
35 Colour(uint8_t red, uint8_t green, uint8_t blue):
36 r(red),
g(green),
b(blue) {}
53 #endif // COLOURS_H_INCLUDED
static Colour GREEN
Definition: Colours.h:44
static Colour BLUE
Definition: Colours.h:45
uint8_t b
The blue value.
Definition: Colours.h:32
Colour(uint8_t red, uint8_t green, uint8_t blue)
Constructor.
Definition: Colours.h:35
uint8_t r
The red value.
Definition: Colours.h:30
A struct representing a (RGB) colour.
Definition: Colours.h:28
uint8_t g
The green value.
Definition: Colours.h:31
static Colour YELLOW
Definition: Colours.h:46
static Colour RED
Definition: Colours.h:43
A class that contains various Colour constants.
Definition: Colours.h:40