aboutsummaryrefslogtreecommitdiff
path: root/palettes.toml
blob: feddba0f1085df848ba598eb5dd4266bd595d5c0 (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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
[[palette]]
slug = "seaborn-colorblind"
title = "Seaborn colorblind"
source = "https://seaborn.pydata.org/tutorial/color_palettes.html#qualitative-color-palettes"
description = """
Adjusted version of matplotlib's default `tab10` palette for color blindness.
"""
colors = [
    {name = "blue", r = 0.00392156862745098, g = 0.45098039215686275, b = 0.6980392156862745},
    {name = "orange", r = 0.8705882352941177, g = 0.5607843137254902, b = 0.0196078431372549},
    {name = "green", r = 0.00784313725490196, g = 0.6196078431372549, b = 0.45098039215686275},
    {name = "red", r = 0.8352941176470589, g = 0.3686274509803922, b = 0.0},
    {name = "purple", r = 0.8, g = 0.47058823529411764, b = 0.7372549019607844},
    {name = "brown", r = 0.792156862745098, g = 0.5686274509803921, b = 0.3803921568627451},
    {name = "pink", r = 0.984313725490196, g = 0.6862745098039216, b = 0.8941176470588236},
    {name = "gray", r = 0.5803921568627451, g = 0.5803921568627451, b = 0.5803921568627451},
    {name = "olive", r = 0.9254901960784314, g = 0.8823529411764706, b = 0.2},
    {name = "cyan", r = 0.33725490196078434, g = 0.7058823529411765, b = 0.9137254901960784},
]


[[palette]]
slug = "paul-tol-bright"
title = "Paul Tol's Bright"
source = "https://sronpersonalpages.nl/~pault/data/colourschemes.pdf"
description = """
Bright qualitative scheme.
Works well for plot lines and map regions, but not as text background.
"""
colors = [
    {name = "blue", R = 68, G = 119, B = 170},
    {name = "cyan", R = 102, G = 204, B = 238},
    {name = "green", R = 34, G = 136, B = 51},
    {name = "yellow", R = 204, G = 187, B = 68},
    {name = "red", R = 238, G = 102, B = 119},
    {name = "purple", R = 170, G = 51, B = 119},
    {name = "grey", R = 187, G = 187, B = 187},
]


[[palette]]
slug = "paul-tol-muted"
title = "Paul Tol's Muted"
source = "https://sronpersonalpages.nl/~pault/data/colourschemes.pdf"
description = """
Muted qualitative color scheme.
Works well for plot lines and map regions, but not as text background.
"""
colors = [
    {name = "indigo", R = 51, G = 34, B = 136},
    {name = "cyan", R = 136, G = 204, B = 238},
    {name = "teal", R = 68, G = 170, B = 153},
    {name = "green", R = 17, G = 119, B = 51},
    {name = "olive", R = 153, G = 153, B = 51},
    {name = "sand", R = 221, G = 204, B = 119},
    {name = "rose", R = 204, G = 102, B = 119},
    {name = "wine", R = 136, G = 34, B = 85},
    {name = "purple", R = 170, G = 68, B = 153},
    {name = "pale grey", R = 221, G = 221, B = 221},
]


[[palette]]
slug = "paul-tol-hc"
title = "Paul Tol's High Contrast"
source = "https://sronpersonalpages.nl/~pault/data/colourschemes.pdf"
description = """
High-contrast scheme, optimized for contrast.
Also works when converted to grayscale.
Technically, `"white"` (`#FFFFFF`) is also part of this scheme, but somewhat pointless to include.
"""
colors = [
    {name = "yellow", R = 221, G = 170, B = 51},
    {name = "red", R = 187, G = 85, B = 102},
    {name = "blue", R = 0, G = 68, B = 136},
    {name = "black", R = 0, G = 0, B = 0},
]


[[palette]]
slug = "okabe-ito"
title = "Okabe and Ito's palette"
source = "https://jfly.uni-koeln.de/color/"
description = """
Masatake Okabe and Kei Ito propose this palette, which has unambiguous vivid colors with names that are easy to identify.
"""
colors = [
    {name = "black", R = 0, G = 0, B = 0},
    {name = "orange", R = 230, G = 159, B = 0},
    {name = "sky blue", R = 86, G = 180, B = 233},
    {name = "bluish green", R = 0, G = 158, B = 115},
    {name = "yellow", R = 240, G = 228, B = 66},
    {name = "blue", R = 0, G = 114, B = 178},
    {name = "vermilion", R = 213, G = 94, B = 0},
    {name = "reddish purple", R = 204, G = 121, B = 167},
]


[[palette]]
slug = "sckolnick-5"
title = "Sckolnick's Bright Contrast"
source = "https://msk678.github.io/Farbenblind.html#five-colors-bright-contrasts"
description = """
Has only 5 colors, but a high contrast between them.
Is a subset of the Okabe-Ito palette from above.
"""
colors = [
    {RGB = "#D55E00"},
    {RGB = "#CC79A7"},
    {RGB = "#0072B2"},
    {RGB = "#F0E442"},
    {RGB = "#009E73"},
]


[[palette]]
slug = "krzywinski"
title = "Krzywinski Palette"
source = "https://mk.bcgsc.ca/biovis2012/krzywinski-visualizing-biological-data.pdf"
description = """
This palette is quite large with 15 colors, but individual colors are not as nicely distinguishable as with other palettes that have fewer colors.
Only use this if you *really* need 15 colors, and be prepared that there might be ambiguity (e.g., between the first two colors).
"""
colors = [
    {RGB = "#000000"},
    {RGB = "#004949"},
    {RGB = "#009292"},
    {RGB = "#FF6DB6"},
    {RGB = "#FFB6DB"},
    {RGB = "#490092"},
    {RGB = "#006DDB"},
    {RGB = "#B66DFF"},
    {RGB = "#6DB6FF"},
    {RGB = "#B6DBFF"},
    {RGB = "#920000"},
    {RGB = "#924900"},
    {RGB = "#DB6D00"},
    {RGB = "#24FF24"},
    {RGB = "#FFFF6D"},
]