Remove string-returning function and return RGB values instead