Skip to content

slint::HsvaColor Struct

struct HsvaColor;
C++
#include <slint.h>
C++

HsvaColor stores the hue, saturation, value, and alpha components of a color in the HSV color space.

float slint::HsvaColor::hue

The hue component in degrees between 0 and 360.

float slint::HsvaColor::saturation

The saturation component, between 0 and 1.

float slint::HsvaColor::value

The value component, between 0 and 1.

float slint::HsvaColor::alpha

The alpha component, between 0 and 1.


© 2026 SixtyFPS GmbH