st/sixel_hls.h
2021-03-25 11:10:57 +01:00

8 lines
140 B
C

/*
* Primary color hues:
* blue: 0 degrees
* red: 120 degrees
* green: 240 degrees
*/
int hls_to_rgb(int hue, int lum, int sat);