need a longer rgb fade

why are you using such a complicated pwm method? why not just use the built in analogwrite function?
EDIT: are you using an attiny85?