RgbColor
#include "crosspad/led/RgbColor.hpp"Generated from crosspad/led/RgbColor.hpp in crosspad-core. Edit the header’s doxygen comments to change this page.
Recipes that use it: Pads and LEDs
crosspad::RgbColor
Section titled “crosspad::RgbColor”Used in Pads and LEDs.
| Field | Type | Description |
|---|---|---|
R | uint8_t | |
G | uint8_t | |
B | uint8_t |
Members
| Member | Description |
|---|---|
RgbColor | |
RgbColor | |
operator== | |
RgbColor | |
Dim | |
LinearBlend |
Methods
RgbColor
Section titled “RgbColor”RgbColor()RgbColor
Section titled “RgbColor”RgbColor(uint8_t R, uint8_t G, uint8_t B)operator==
Section titled “operator==”bool operator==(const RgbColor &other) constRgbColor
Section titled “RgbColor”RgbColor(HslColor hsl)RgbColor Dim(uint8_t brightness) constLinearBlend
Section titled “LinearBlend”static RgbColor LinearBlend(const RgbColor &start, const RgbColor &end, float t)Declared in crosspad/led/RgbColor.hpp:8.