TLIGHT_PRODUCTS / WS281X
Embed: (wiki syntax)

« Back to documentation index

RGBColor Struct Reference

RGBColor Struct Reference

RGB Color. More...

#include <ColorLib.h>

Public Member Functions

 RGBColor (uint8_t r, uint8_t g, uint8_t b)
 Constructor with rgb initializing.
 RGBColor ()
 Default constructor.

Detailed Description

RGB Color.

Definition at line 91 of file ColorLib.h.


Constructor & Destructor Documentation

RGBColor ( uint8_t  r,
uint8_t  g,
uint8_t  b 
)

Constructor with rgb initializing.

Parameters:
r- the red byte
g- the green byte
b- the blue byte

Definition at line 120 of file ColorLib.h.

RGBColor (  )

Default constructor.

Definition at line 154 of file ColorLib.h.