blob: a8b6de213f29141a17edb0c921ac84c433e08dce [file] [log] [blame] [edit]
#ifndef HSL_H
#define HSL_H
#include "graphics_types.h"
struct hsl {
double h; // a fraction between 0 and 1
double s; // a fraction between 0 and 1
double l; // a fraction between 0 and 1
};
hsl color2hsl(t_color in);
t_color hsl2color(hsl in);
#endif