cwist
Modern C web framework with libttak runtime
Loading...
Searching...
No Matches
cwist_color_hsl Struct Reference

HSL Color representation for dynamic manipulation. More...

#include <css_composer.h>

Public Attributes

float h
 Hue angle in degrees (0.0 to 360.0)
 
float s
 Saturation percentage (0.0 to 1.0)
 
float l
 Lightness percentage (0.0 to 1.0)
 

Detailed Description

HSL Color representation for dynamic manipulation.

Definition at line 24 of file css_composer.h.

Member Data Documentation

◆ h

float cwist_color_hsl::h

Hue angle in degrees (0.0 to 360.0)

Definition at line 25 of file css_composer.h.

Referenced by cwist_color_hsl_to_rgb(), and cwist_color_rgb_to_hsl().

◆ l

float cwist_color_hsl::l

Lightness percentage (0.0 to 1.0)

Definition at line 27 of file css_composer.h.

Referenced by cwist_color_hsl_to_rgb(), and cwist_color_rgb_to_hsl().

◆ s

float cwist_color_hsl::s

Saturation percentage (0.0 to 1.0)

Definition at line 26 of file css_composer.h.

Referenced by cwist_color_hsl_to_rgb(), and cwist_color_rgb_to_hsl().


The documentation for this struct was generated from the following file: