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

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

#include <ColorRgb.h>

Public Attributes

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

Static Public Attributes

static ColorRgb BLACK = { 0, 0, 0 }
 'Black' RgbColor (0, 0, 0)
 
static ColorRgb RED = { 255, 0, 0 }
 'Red' RgbColor (255, 0, 0)
 
static ColorRgb GREEN = { 0, 255, 0 }
 'Green' RgbColor (0, 255, 0)
 
static ColorRgb BLUE = { 0, 0, 255 }
 'Blue' RgbColor (0, 0, 255)
 
static ColorRgb YELLOW = { 255, 255, 0 }
 'Yellow' RgbColor (255, 255, 0)
 
static ColorRgb WHITE = { 255, 255, 255 }
 'White' RgbColor (255, 255, 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: