ColorFromHwb Method (Single, Single, Single, Single)

Creates a Color instance from HWB (Hue-Whiteness-Blackness) color parameters and an alpha value.
public static Color FromHwb(
	float hue,
	float whiteness,
	float blackness,
	float alpha
)

Parameters

hueSystemSingle
Hue in the range [0, 1].
whitenessSystemSingle
Whiteness in the range [0, 1].
blacknessSystemSingle
Blackness in the range [0, 1].
alphaSystemSingle
Alpha in the range [0, 1].

Return Value

Color

Exceptions

ExceptionCondition
ArgumentOutOfRangeExceptionOne of the components was NaN, less than 0f or greater than 1f.

See Also

Reference