Minor fixes to Color.to_rgb