qualpal 2.3.0
Loading...
Searching...
No Matches
colors.h File Reference

Color representation classes. More...

#include <array>
#include <string>
Include dependency graph for colors.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  qualpal::colors::RGB
 RGB color representation with values in [0,1] range. More...
 
class  qualpal::colors::HSL
 HSL (Hue, Saturation, Lightness) color representation. More...
 
class  qualpal::colors::XYZ
 XYZ color representation (CIE 1931 color space) More...
 
class  qualpal::colors::DIN99d
 DIN99d color space representation. More...
 
class  qualpal::colors::Lab
 Lab color space representation (CIE L*a*b*) More...
 
class  qualpal::colors::LCHab
 LCHab color space representation (CIE L*C*h) More...
 

Namespaces

namespace  qualpal
 Qualitative color palette generation library.
 
namespace  qualpal::colors
 Color representation classes for various color spaces.
 

Detailed Description

Color representation classes.

This file defines classes for representing colors in various color spaces: RGB, HSL, XYZ, Lab, and DIN99d. Each class provides constructors for converting between color spaces and methods for accessing color values. The RGB class also includes methods for creating colors from hex strings and converting RGB values to hex format.

Definition in file colors.h.