Color.FromHwb

Color.FromHwb method

Returns a new Color with the requested hue, whiteness, blackness values.

public static Color FromHwb(float hue, float whiteness, float blackness)
ParameterTypeDescription
hueSingleA float that represents the hue component of the color.
whitenessSingleA float that represents the whiteness component of the color.
blacknessSingleA float that represents the blackness component of the color.

Return Value

A new instance of the Color class

See Also