Functions
hsl_rgb_conversions.h File Reference
#include <cmath>
Include dependency graph for hsl_rgb_conversions.h:
This graph shows which files directly or indirectly include this file:

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)

Function Documentation

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 
)


hrl_phri_2011
Author(s): Kelsey Hawkins
autogenerated on Wed Nov 27 2013 12:22:40