Euphoria
eu::Hsl Struct Reference

#include <rgb.h>

Public Attributes

Angle h
 
float s
 
float l
 

Static Public Attributes

static constexpr Angle red = Angle::from_percent_of_360(0.0f)
 
static constexpr Angle yellow = Angle::from_percent_of_360(1 / 6.0f)
 
static constexpr Angle green = Angle::from_percent_of_360(2 / 6.0f)
 
static constexpr Angle cyan = Angle::from_percent_of_360(3 / 6.0f)
 
static constexpr Angle blue = Angle::from_percent_of_360(4 / 6.0f)
 
static constexpr Angle magenta = Angle::from_percent_of_360(5 / 6.0f)
 

Detailed Description

Definition at line 103 of file rgb.h.

Member Data Documentation

◆ blue

constexpr Angle eu::Hsl::blue = Angle::from_percent_of_360(4 / 6.0f)
staticconstexpr

Definition at line 115 of file rgb.h.

◆ cyan

constexpr Angle eu::Hsl::cyan = Angle::from_percent_of_360(3 / 6.0f)
staticconstexpr

Definition at line 114 of file rgb.h.

◆ green

constexpr Angle eu::Hsl::green = Angle::from_percent_of_360(2 / 6.0f)
staticconstexpr

Definition at line 113 of file rgb.h.

◆ h

Angle eu::Hsl::h

Definition at line 106 of file rgb.h.

◆ l

float eu::Hsl::l

Definition at line 108 of file rgb.h.

◆ magenta

constexpr Angle eu::Hsl::magenta = Angle::from_percent_of_360(5 / 6.0f)
staticconstexpr

Definition at line 116 of file rgb.h.

◆ red

constexpr Angle eu::Hsl::red = Angle::from_percent_of_360(0.0f)
staticconstexpr

Definition at line 111 of file rgb.h.

◆ s

float eu::Hsl::s

Definition at line 107 of file rgb.h.

◆ yellow

constexpr Angle eu::Hsl::yellow = Angle::from_percent_of_360(1 / 6.0f)
staticconstexpr

Definition at line 112 of file rgb.h.


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