hyperion.ng
Public Attributes | Static Public Attributes | List of all members
ColorRgbw Struct Reference

Plain-Old-Data structure containing the red-green-blue color specification. More...

#include <ColorRgbw.h>

Public Attributes

uint8_t red
 The red color channel.
 
uint8_t green
 The green color channel.
 
uint8_t blue
 The blue color channel.
 
uint8_t white
 The white color channel.
 

Static Public Attributes

static ColorRgbw BLACK = { 0, 0, 0, 0 }
 'Black' RgbColor (0, 0, 0, 0)
 
static ColorRgbw RED = { 255, 0, 0, 0 }
 'Red' RgbColor (255, 0, 0, 0)
 
static ColorRgbw GREEN = { 0, 255, 0, 0 }
 'Green' RgbColor (0, 255, 0, 0)
 
static ColorRgbw BLUE = { 0, 0, 255, 0 }
 'Blue' RgbColor (0, 0, 255, 0)
 
static ColorRgbw YELLOW = { 255, 255, 0, 0 }
 'Yellow' RgbColor (255, 255, 0, 0)
 
static ColorRgbw WHITE = { 0, 0, 0, 255 }
 'White' RgbColor (0, 0, 0, 255)
 

Detailed Description

Plain-Old-Data structure containing the red-green-blue color specification.

Size of the structure is exactly 3-bytes for easy writing to led-device


The documentation for this struct was generated from the following files: