ColorExtensions.ToHsv(Color) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Convert a System.Drawing.Color struct into HSV Color.
public static ValueTuple<double,double,double> ToHsv (this System.Drawing.Color color);
Parameters
- color
- System.Drawing.Color
The current color to manipulate.
Returns
System.ValueTuple<System.Double,System.Double,System.Double>
A tuple of doubles with the values of Hue, Saturation and Value, respectively.