aboutsummaryrefslogtreecommitdiff
path: root/sixel-hls.h
diff options
context:
space:
mode:
Diffstat (limited to 'sixel-hls.h')
-rw-r--r--sixel-hls.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/sixel-hls.h b/sixel-hls.h
new file mode 100644
index 00000000..6d6b9f2f
--- /dev/null
+++ b/sixel-hls.h
@@ -0,0 +1,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);