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

◆ nscale8x3_constexpr()

CRGB nscale8x3_constexpr ( uint8_t r,
uint8_t g,
uint8_t b,
fract8 scale )
constexpr

Definition at line 340 of file scale8.h.

340 {
341 return CRGB(((int)r * (int)(scale)) >> 8, ((int)g * (int)(scale)) >> 8,
342 ((int)b * (int)(scale)) >> 8);
343}
UISlider scale("Scale", 4,.1, 4,.1)
Representation of an RGB pixel (Red, Green, Blue)
Definition crgb.h:54

References scale.