-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathmappings.py
66 lines (65 loc) · 1.56 KB
/
mappings.py
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
color_map = {
"#BE0039": 1, # dark red
"#FF4500": 2, # red
"#FFA800": 3, # orange
"#FFD635": 4, # yellow
"#00A368": 6, # dark green
"#00CC78": 7, # green
"#7EED56": 8, # light green
"#00756F": 9, # dark teal
"#009EAA": 10, # teal
"#00CCC0": 11, # light teal
"#2450A4": 12, # dark blue
"#3690EA": 13, # blue
"#51E9F4": 14, # light blue
"#493AC1": 15, # indigo
"#6A5CFF": 16, # periwinkle
"#94B3FF": 17, # light indigo
"#811E9F": 18, # dark purple
"#B44AC0": 19, # purple
"#E4ABFF": 20, # light purple
"#DE107F": 21, # dark pink
"#FF3881": 22, # pink
"#FF99AA": 23, # light pink
"#6D482F": 24, # dark brown
"#9C6926": 25, # brown
"#FFB470": 26, # light brown
"#000000": 27, # black
"#515252": 28, # dark gray
"#898D90": 29, # gray
"#D4D7D9": 30, # light gray
"#FFFFFF": 31, # white
}
# map of pixel color ids to verbose name (for debugging)
name_map = {
1: "Dark Red",
2: "Bright Red",
3: "Orange",
4: "Yellow",
6: "Dark Green",
7: "Green",
8: "Light Green",
9: "Dark Teal",
10: "Teal",
11: "Light Teal",
12: "Dark Blue",
13: "Blue",
14: "Light Blue",
15: "Indigo",
16: "Periwinkle",
17: "Light Indigo",
18: "Dark Purple",
19: "Purple",
20: "Light Purple",
21: "Dark Pink",
22: "Pink",
23: "Light Pink",
24: "Dark Brown",
25: "Brown",
26: "Light Brown",
27: "Black",
28: "Dark Gray",
29: "Gray",
30: "Light Gray",
31: "White",
}