---
title: "slint::HsvaColor Struct"
---
```cpp
struct HsvaColor;
```

```cpp
#include <slint.h>
```

[HsvaColor](./) stores the hue, saturation, value, and alpha components of a color in the HSV color space.

## Public Attributes

### `hue`

```cpp
float slint::HsvaColor::hue
```

The hue component in degrees between 0 and 360.

### `saturation`

```cpp
float slint::HsvaColor::saturation
```

The saturation component, between 0 and 1.

### `value`

```cpp
float slint::HsvaColor::value
```

The value component, between 0 and 1.

### `alpha`

```cpp
float slint::HsvaColor::alpha
```

The alpha component, between 0 and 1.