-
Notifications
You must be signed in to change notification settings - Fork 0
/
colours.py
22 lines (19 loc) · 1.42 KB
/
colours.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
reds = [[254, 224, 210], [252, 187, 161], [252, 146, 114], [251, 106, 74], [239, 59, 44], [203, 24, 29], [165, 15, 21], [103, 0, 13]]
blues = [[222, 235, 247], [198, 219, 239], [158, 202, 225], [107, 174, 214], [66, 146, 198], [33, 113, 181], [8, 81, 156], [8, 48, 107]]
greens = [[229, 245, 224], [199, 233, 192], [161, 217, 155], [116, 196, 118], [65, 171, 93], [35, 139, 69], [0, 109, 44], [0, 68, 27]]
oranges = [[254, 230, 206], [253, 208, 162], [253, 174, 107], [253, 141, 60], [241, 105, 19], [217, 72, 1], [166, 54, 3], [127, 39, 4]]
greys = [[240, 240, 240], [217, 217, 217], [189, 189, 189], [150, 150, 150], [115, 115, 115], [82, 82, 82], [37, 37, 37], [0, 0, 0]]
purples = [[239, 237, 245], [218, 218, 235], [188, 189, 220], [158, 154, 200], [128, 125, 186], [106, 81, 163], [84, 39, 143], [63, 0, 125]]
pinks = [[231, 225, 239], [212, 185, 218], [201, 148, 199], [223, 101, 176], [231, 41, 138], [206, 18, 86], [152, 0, 67], [103, 0, 31]]
teals = [[236, 226, 240], [208, 209, 230], [166, 189, 219], [103, 169, 207], [54, 144, 192], [2, 129, 138], [1, 108, 89], [1, 70, 54]]
grbls = [[247, 252, 240], [224, 243, 219], [204, 235, 197], [168, 221, 181], [123, 204, 196], [78, 179, 211], [43, 140, 190], [8, 88, 158]]
lostr = histr = True
if lostr and histr:
colmap = [reds[::-1], [1, 1, 1], blues]
elif not lostr:
colmap = [[1, 1, 1], blues]
elif not histr:
colmap = [reds[::-1], [1, 1, 1]]
else:
colmap = []
colmap.reverse()