summaryrefslogtreecommitdiff
path: root/archive/src/colours.h
blob: ac8996a8198bad99809ac88f175b779609449e91 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
#pragma once

#include "defines.h"

typedef struct rgba {
  f32 r, g, b, a;
} rgba;

#define COLOUR_BLACK ((rgba){ 0.02, 0.02, 0.0, 1.0 })
#define COLOUR_IMPERIAL_RED ((rgba){ 0.97, 0.09, 0.21, 1.0 })
#define COLOUR_TRUE_BLUE ((rgba){ 0.11, 0.41, 0.77, 1.0 })
#define COLOUR_SEA_GREEN ((rgba){ 0.18, 0.77, 0.71, 1.0 })
#define COLOUR_WHITE ((rgba){ 1.0, 1.0, 1.0, 1.0 })

#define rgba_to_vec4(color) (vec4(color.r, color.g, color.b, color.a))
#define rgba_to_vec3(color) (vec3(color.r, color.g, color.b))

// Thanks ChatGPT
#define STONE_50 ((rgba){ 0.980, 0.980, 0.976, 1.0 })
#define STONE_100 ((rgba){ 0.961, 0.961, 0.957, 1.0 })
#define STONE_200 ((rgba){ 0.906, 0.898, 0.894, 1.0 })
#define STONE_300 ((rgba){ 0.839, 0.827, 0.819, 1.0 })
#define STONE_400 ((rgba){ 0.659, 0.635, 0.620, 1.0 })
#define STONE_500 ((rgba){ 0.471, 0.443, 0.424, 1.0 })
#define STONE_600 ((rgba){ 0.341, 0.325, 0.306, 1.0 })
#define STONE_700 ((rgba){ 0.267, 0.251, 0.235, 1.0 })
#define STONE_800 ((rgba){ 0.161, 0.145, 0.141, 1.0 })
#define STONE_900 ((rgba){ 0.110, 0.098, 0.090, 1.0 })
#define STONE_950 ((rgba){ 0.047, 0.043, 0.035, 1.0 })

#define CYAN_50 ((rgba){ 0.930, 1.000, 1.000, 1.0 })
#define CYAN_100 ((rgba){ 0.810, 0.980, 1.000, 1.0 })
#define CYAN_200 ((rgba){ 0.650, 0.953, 0.988, 1.0 })
#define CYAN_300 ((rgba){ 0.404, 0.910, 0.976, 1.0 })
#define CYAN_400 ((rgba){ 0.133, 0.827, 0.933, 1.0 })
#define CYAN_500 ((rgba){ 0.023, 0.714, 0.831, 1.0 })
#define CYAN_600 ((rgba){ 0.031, 0.569, 0.698, 1.0 })
#define CYAN_700 ((rgba){ 0.055, 0.455, 0.565, 1.0 })
#define CYAN_800 ((rgba){ 0.082, 0.369, 0.459, 1.0 })
#define CYAN_900 ((rgba){ 0.086, 0.306, 0.388, 1.0 })
#define CYAN_950 ((rgba){ 0.033, 0.200, 0.263, 1.0 })

#define GRAY_50 ((rgba){ 0.976, 0.980, 0.984, 1.0 })
#define GRAY_100 ((rgba){ 0.953, 0.957, 0.965, 1.0 })
#define GRAY_200 ((rgba){ 0.898, 0.906, 0.922, 1.0 })
#define GRAY_300 ((rgba){ 0.820, 0.835, 0.859, 1.0 })
#define GRAY_400 ((rgba){ 0.612, 0.639, 0.686, 1.0 })
#define GRAY_500 ((rgba){ 0.420, 0.447, 0.502, 1.0 })
#define GRAY_600 ((rgba){ 0.294, 0.333, 0.388, 1.0 })
#define GRAY_700 ((rgba){ 0.216, 0.255, 0.318, 1.0 })
#define GRAY_800 ((rgba){ 0.122, 0.161, 0.216, 1.0 })
#define GRAY_900 ((rgba){ 0.067, 0.094, 0.153, 1.0 })
#define GRAY_950 ((rgba){ 0.012, 0.027, 0.071, 1.0 })

#define RED_50 ((rgba){ 0.996, 0.949, 0.949, 1.0 })
#define RED_100 ((rgba){ 0.996, 0.886, 0.886, 1.0 })
#define RED_200 ((rgba){ 0.996, 0.792, 0.792, 1.0 })
#define RED_300 ((rgba){ 0.988, 0.647, 0.647, 1.0 })
#define RED_400 ((rgba){ 0.973, 0.443, 0.443, 1.0 })
#define RED_500 ((rgba){ 0.937, 0.267, 0.267, 1.0 })
#define RED_600 ((rgba){ 0.863, 0.149, 0.149, 1.0 })
#define RED_700 ((rgba){ 0.725, 0.110, 0.110, 1.0 })
#define RED_800 ((rgba){ 0.600, 0.106, 0.106, 1.0 })
#define RED_900 ((rgba){ 0.498, 0.114, 0.114, 1.0 })
#define RED_950 ((rgba){ 0.271, 0.039, 0.039, 1.0 })

#define ORANGE_50 ((rgba){ 1.000, 0.969, 0.929, 1.0 })
#define ORANGE_100 ((rgba){ 1.000, 0.929, 0.835, 1.0 })
#define ORANGE_200 ((rgba){ 0.996, 0.843, 0.667, 1.0 })
#define ORANGE_300 ((rgba){ 0.992, 0.729, 0.455, 1.0 })
#define ORANGE_400 ((rgba){ 0.984, 0.573, 0.235, 1.0 })
#define ORANGE_500 ((rgba){ 0.976, 0.451, 0.086, 1.0 })
#define ORANGE_600 ((rgba){ 0.918, 0.345, 0.047, 1.0 })
#define ORANGE_700 ((rgba){ 0.761, 0.255, 0.047, 1.0 })
#define ORANGE_800 ((rgba){ 0.604, 0.204, 0.071, 1.0 })
#define ORANGE_900 ((rgba){ 0.486, 0.176, 0.071, 1.0 })
#define ORANGE_950 ((rgba){ 0.263, 0.078, 0.027, 1.0 })

#define AMBER_50 ((rgba){ 1.000, 0.984, 0.922, 1.0 })
#define AMBER_100 ((rgba){ 0.996, 0.953, 0.780, 1.0 })
#define AMBER_200 ((rgba){ 0.992, 0.902, 0.541, 1.0 })
#define AMBER_300 ((rgba){ 0.988, 0.827, 0.302, 1.0 })
#define AMBER_400 ((rgba){ 0.984, 0.749, 0.141, 1.0 })
#define AMBER_500 ((rgba){ 0.961, 0.620, 0.043, 1.0 })
#define AMBER_600 ((rgba){ 0.851, 0.467, 0.024, 1.0 })
#define AMBER_700 ((rgba){ 0.706, 0.325, 0.035, 1.0 })
#define AMBER_800 ((rgba){ 0.573, 0.251, 0.055, 1.0 })
#define AMBER_900 ((rgba){ 0.471, 0.208, 0.059, 1.0 })
#define AMBER_950 ((rgba){ 0.271, 0.102, 0.012, 1.0 })