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

◆ nscale8() [2/2]

CRGB & CRGB::nscale8 ( fl::u8 scaledown)

Scale down a RGB to N/256ths of its current brightness, using "plain math" dimming rules.

"Plain math" dimming rules means that the low light levels may dim all the way to 100% black.

See also
nscale8x3

References CRGB(), and FASTLED_FORCE_INLINE.

Referenced by fl::blur1d(), fl::blurColumns(), fl::blurRows(), draw(), fill_2dnoise8(), and loop().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: