Hi Folks, I'm experimenting with the fade functions and not getting what I want.

Hi Folks,
I’m experimenting with the fade functions and not getting what I want.
I want to have a set of leds where the first is full brightness, the second a bit less, and so on, until the end of the set is almost out.
I am able to dim them using either scale8 or scale8_video or even lowering the value in a CHSV, BUT
the dimmed LEDs are a different color!
It seems to happen where hue is 220 and above or < 50.
These aren’t exact numbers, but it does not happen for all values of hue.
Does anyone know why this happens and how to fix it?
I’m using WS2812Bs.
Thanks,

(IMO), this is due to the fact that you only have 8 bits of resolution for each colour. It’s not enough to keep an LED colour consistent across a wide range of brightnesses and especially at lower levels.

An associate of mine was interested in maintaining a smoothly changing warm white across a range of brightnesses for his art display. After some experimentation, I ended up purchasing some SK6812 WW LED’s. They worked like a charm as long as the brightness > 32 or thereabouts. Although the colour was always consistent, below that level, the change between each level of brightness was more noticeable.

Thank you, Andrew. well, I forgot to eliminate an important variable in my problem solving. So, I created a very simple test code to check the dimming functions. And they worked perfectly. So, it’s me! No, I’ll search for the bug in my code. I was able to circle around the HSV wheel and get proper dimming all around, so somewhere the bug is my doing. Thanks again.

Yeah, I’ve seen this a lot. I’ve just kinda come to accept a colour shift in a fade