Summary

A color in ['a'] format.

Constructors

ColorHsv Initializes a new HSV/HSB color. Hue is in the range of [0-360] and all other values are in range [0,1]

Properties

Alpha Transparency of this color in range 0 (fully transparent) to 1 (fully opaque).
Hue Hue component of this color in range 0 to 360.
Saturation Saturation of this color in range 0 (white) to 1 (full color).
Value Brightness of this color in range 0 (black) to 1 (full color).

Methods

ToColor Convert this object to Color.
WithAlpha Returns a copy of this color with given alpha value.
WithHue Returns a copy of this color with given Hue value.
WithSaturation Returns a copy of this color with given Saturation value.
WithValue Returns a copy of this color with given Brightness value.
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.