st/sixel_hls.h

8 lines
140 B
C
Raw Normal View History

2021-03-10 18:09:47 +01:00
/*
* Primary color hues:
* blue: 0 degrees
* red: 120 degrees
* green: 240 degrees
*/
int hls_to_rgb(int hue, int lum, int sat);