# ColorHsv

A color in Hue-Saturation-Value/Brightness format.

- Kind: struct
- Assembly: `Sandbox.System`
- Modifiers: sealed

## Constructors

- [`ColorHsv`](/api/ColorHsv/.ctor): 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`](/api/ColorHsv/Alpha): Transparency of this color in range 0 (fully transparent) to 1 (fully opaque).
- [`Hue`](/api/ColorHsv/Hue): Hue component of this color in range 0 to 360.
- [`Saturation`](/api/ColorHsv/Saturation): Saturation of this color in range 0 (white) to 1 (full color).
- [`Value`](/api/ColorHsv/Value): Brightness of this color in range 0 (black) to 1 (full color).

## Methods

- [`ToColor`](/api/ColorHsv/ToColor): Convert this object to [Color](/api/Color).
- [`WithAlpha`](/api/ColorHsv/WithAlpha): Returns a copy of this color with given alpha value.
- [`WithHue`](/api/ColorHsv/WithHue): Returns a copy of this color with given Hue value.
- [`WithSaturation`](/api/ColorHsv/WithSaturation): Returns a copy of this color with given Saturation value.
- [`WithValue`](/api/ColorHsv/WithValue): Returns a copy of this color with given Brightness value.
