Crgb16

Describes a 16-bits RGB color.

Inherits from

Crgb8T<word>.

Methods

NameDescription
toRGBReturns the RGB color in 32-bits.
toRGB8Returns the RGB color in 8-bits.
getSummatoryReturns R+G+B.

toRGB

Returns the RGB color in 32-bits.

LanguageSyntax
C++void toRGB( Crgb& rgb )
PythonCrgb toRGB()

toRGB8

Returns the RGB color in 8-bits.

LanguageSyntax
C++toRGB8( Crgb8& rgb8 )
PythonCrgb8 toRGB8()

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Â