Convert hex color to hsv.
public static rgb_to_hsv ( string $color = [] ) : array | ||
$color | string | The rgb color to convert array( 'r', 'g', 'b' ). |
return | array | Returns array( 'h', 's', 'v' ). |
public static rgb_to_hsv ( string $color = [] ) : array | ||
$color | string | The rgb color to convert array( 'r', 'g', 'b' ). |
return | array | Returns array( 'h', 's', 'v' ). |