|
FastLED 3.9.15
|
| bool fl::wled::parseHexColor | ( | const fl::string & | hexStr, |
| u8 & | r, | ||
| u8 & | g, | ||
| u8 & | b ) |
Parse hex color string to RGB components.
| hexStr | Hex color string (e.g., "FF0000" or "#FF0000") |
| r | Output: red component (0-255) |
| g | Output: green component (0-255) |
| b | Output: blue component (0-255) |
Supports formats:
Definition at line 10 of file json_helpers.cpp.hpp.
References fl::hex.
Referenced by parseSegmentFields().
Here is the caller graph for this function: