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 350 of file scale8.h.

350 {
351 return CRGB(((int)r * (int)(scale)) >> 8, ((int)g * (int)(scale)) >> 8,
352 ((int)b * (int)(scale)) >> 8);
353}
uint16_t scale
Definition Noise.ino:74
Representation of an RGB pixel (Red, Green, Blue)
Definition crgb.h:86

References scale.