ready to rewrite setRGB