animator.skia.RGBToHSV¶
- animator.skia.RGBToHSV(red: int, green: int, blue: int) List[float] ¶
Converts RGB to its HSV components.
- Parameters
- Returns
three element array which holds the resulting HSV components. hsv[0] contains hsv hue, a value from 0 to less than 360. hsv[1] contains hsv saturation, a value from 0 to 1. hsv[2] contains hsv value, a value from 0 to 1.