Color.FromHwba

Color.FromHwba method

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

public static Color FromHwba(float hue, float whiteness, float blackness, float alpha)
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.
alphaSingleA float that represents the alpha component of the color.

Return Value

A new instance of the Color class

See Also