st-custom/sixel_hls.h

8 lines
140 B
C
Raw Normal View History

2024-05-22 20:48:41 +02:00
/*
* Primary color hues:
* blue: 0 degrees
* red: 120 degrees
* green: 240 degrees
*/
int hls_to_rgb(int hue, int lum, int sat);