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

◆ mapNeonNights()

CRGB ColorPaletteManager::mapNeonNights ( float hue_norm,
float intensity,
float special_param )
inlineprivate

Definition at line 212 of file FxNoiseRing.h.

212 {
213 // Electric pink, cyan, purple, lime green - high contrast
214 uint8_t base_hues[] = {0, 85, 128, 192}; // Red, Cyan, Pink, Purple
215 uint8_t selected_hue = base_hues[(int)(hue_norm * 4) % 4];
216 uint8_t sat = 255; // Maximum saturation for neon effect
217 uint8_t val = 100 + (uint8_t)(intensity * 155);
218 return CHSV(selected_hue, sat, val);
219 }

Referenced by mapColor().

+ Here is the caller graph for this function: