Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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.

Anchor
torgb
torgb

toRGB

Returns the RGB color in 32-bits.

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

Anchor
torgb8
torgb8

toRGB8

Returns the RGB color in 8-bits.

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