improved RGB_all