FastLED 3.9.15
Loading...
Searching...
No Matches

◆ operator u32()

fl::CRGB::operator u32 ( ) const
inlineexplicitconstexpr

Converts a CRGB to a 32-bit color having an alpha of 255.

Definition at line 358 of file crgb.h.

359 {
360 return u32(0xff000000) |
361 (u32{r} << 16) |
362 (u32{g} << 8) |
363 u32{b};
364 }

References FL_NOEXCEPT.