Fixed an RGB conversion error