#include <cmath>

Go to the source code of this file.
Functions | |
| void | extractHSL (float rgb, double &h, double &s, double &l) |
| void | extractRGB (float rgb, uint8_t &r, uint8_t &g, uint8_t &b) |
| void | HSLToRGB (double h, double s, double l, uint8_t &r, uint8_t &g, uint8_t &b) |
| void | RGBToHSL (uint8_t r, uint8_t g, uint8_t b, double &h, double &s, double &l) |
| void | writeHSL (double h, double s, double l, float &rgb) |
| void | writeRGB (uint8_t r, uint8_t g, uint8_t b, float &rgb) |
| void extractHSL | ( | float | rgb, |
| double & | h, | ||
| double & | s, | ||
| double & | l | ||
| ) |
Definition at line 22 of file hsl_rgb_conversions.h.
| void extractRGB | ( | float | rgb, |
| uint8_t & | r, | ||
| uint8_t & | g, | ||
| uint8_t & | b | ||
| ) |
Definition at line 16 of file hsl_rgb_conversions.h.
| void HSLToRGB | ( | double | h, |
| double | s, | ||
| double | l, | ||
| uint8_t & | r, | ||
| uint8_t & | g, | ||
| uint8_t & | b | ||
| ) |
Definition at line 68 of file hsl_rgb_conversions.h.
| void RGBToHSL | ( | uint8_t | r, |
| uint8_t | g, | ||
| uint8_t | b, | ||
| double & | h, | ||
| double & | s, | ||
| double & | l | ||
| ) |
Definition at line 41 of file hsl_rgb_conversions.h.
| void writeHSL | ( | double | h, |
| double | s, | ||
| double | l, | ||
| float & | rgb | ||
| ) |
Definition at line 35 of file hsl_rgb_conversions.h.
| void writeRGB | ( | uint8_t | r, |
| uint8_t | g, | ||
| uint8_t | b, | ||
| float & | rgb | ||
| ) |
Definition at line 28 of file hsl_rgb_conversions.h.