FastLED 3.9.15
|
CRGB & CRGB::nscale8 | ( | uint8_t | 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.
Definition at line 72 of file crgb.cpp.
References CRGB(), and nscale8x3().
Referenced by blur1d(), blurColumns(), blurRows(), fill_2dnoise8(), and map_data_into_colors_through_palette().