Struct Color

Struct Documentation

struct Color

Public Functions

Color()
Color(uint8_t _r, uint8_t _g, uint8_t _b)
Color(uint8_t _r, uint8_t _g, uint8_t _b, uint8_t _a)

Public Members

uint8_t r
uint8_t g
uint8_t b
uint8_t a

Public Static Functions

static Color blendTwoColors(const Color &first_color, FloatingPoint first_weight, const Color &second_color, FloatingPoint second_weight)
static const Color White()
static const Color Black()
static const Color Gray()
static const Color Red()
static const Color Green()
static const Color Blue()
static const Color Yellow()
static const Color Orange()
static const Color Purple()
static const Color Teal()
static const Color Pink()