summaryrefslogtreecommitdiff
path: root/color.h
diff options
context:
space:
mode:
Diffstat (limited to 'color.h')
-rw-r--r--color.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/color.h b/color.h
new file mode 100644
index 0000000..07f46d3
--- /dev/null
+++ b/color.h
@@ -0,0 +1,14 @@
+#ifndef __COLOR_H__
+#define __COLOR_H__
+
+struct hsvf {
+ float h, s, v;
+};
+
+struct rgbf {
+ float r, g, b;
+};
+
+void hsv_to_rgb(struct hsvf *hsv_in, struct rgbf *rgb_out);
+
+#endif /* __COLOR_H__ */