summaryrefslogtreecommitdiff
path: root/archive/st/sixel_hls.h
diff options
context:
space:
mode:
Diffstat (limited to 'archive/st/sixel_hls.h')
-rw-r--r--archive/st/sixel_hls.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/archive/st/sixel_hls.h b/archive/st/sixel_hls.h
new file mode 100644
index 0000000..6176589
--- /dev/null
+++ b/archive/st/sixel_hls.h
@@ -0,0 +1,7 @@
+/*
+ * Primary color hues:
+ * blue: 0 degrees
+ * red: 120 degrees
+ * green: 240 degrees
+ */
+int hls_to_rgb(int hue, int lum, int sat);