summaryrefslogtreecommitdiff
path: root/src/color.h
blob: 505ba9a1e9911de37b47408f89c583ccc98ec9e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef UTIL_H
#define UTIL_H

#include <stdbool.h>
#include <stdint.h>

struct color {
	float r;
	float g;
	float b;
	float a;
};

struct color hex_to_color(const char *hex);

#endif /* UTIL_H */