summaryrefslogtreecommitdiff
path: root/color.h
blob: 07f46d3eb9cd3c0ff369b6e62fba3f19e09747c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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__ */