Udostępnij za pośrednictwem


ColorExtensions.ToHsv(Color) Method

Definition

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.

Applies to