aboutsummaryrefslogtreecommitdiff
path: root/sixel-hls.h
blob: 6d6b9f2fdcf210930c74909a4d9c69e3d81db0e7 (plain)
1
2
3
4
5
6
7
8
9
#pragma once

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