Controllig car led's with pwm

what's the code for this longer transition ?