Hi, i am doing a 3 RGB led lamp, the lamp fades up in a random color when the light in the room goes out, then shifts to a second random color, and after a prior of time it fades to off.
All the 3 leds shows the same color.
This is all working well, no problems

The problem is that in the lowest range of the fade out, form (i guess) 20 to 0, the steps are clearly visible and disturbing, in particular the "brightness 1" is too bright, so when it switches to 0 the step in the dark is highly noticeable.
Part of the problem is that i use a HSB color library i found that uses a number from 0 to 99 for brightness, so i have less steps than direct PWM control, however 100 steps could be good.
Sure i can add a resistor on the Leds to have a dimmer "brightness 1", but this would also cut off on the maximum brightness.
Someone have an idea of how can i fix this?
Tnx