blob: 663f2256470a2d374400e563c3beb6363e660a70 [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