summaryrefslogtreecommitdiff
path: root/archive/st/sixel_hls.h
blob: 61765897c2f7e5b0ccabe26af584b1fab62a85cd (plain)
1
2
3
4
5
6
7
/*
 * Primary color hues:
 *  blue:  0 degrees
 *  red:   120 degrees
 *  green: 240 degrees
 */
int hls_to_rgb(int hue, int lum, int sat);