-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.js
140 lines (140 loc) · 4.72 KB
/
index.js
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
;
(function(root, factory) {
if (typeof define === 'function' && define.amd) {
define([], factory);
} else if (typeof exports === 'object') {
module.exports = factory();
} else {
root.musicalScaleColors = factory();
}
}(this, function() {
// http://rhythmiclight.com/archives/ideas/colorscales.html
return {
louisBertrandCastel: {
0: 0x1C0D82, // blue
1: 0x1B9081, // blue-green
2: 0x149033, // green
3: 0x709226, // olive green
4: 0xF5F43C, // yellow
5: 0xF5D23B, // yellow-orange
6: 0xF88010, // orange
7: 0xFA0B0C, // red
8: 0xA00C09, // crimson
9: 0xD71386, // violet
10: 0x4B0E7D, // agate
11: 0x7F087C // indigo
},
dDJameson: {
0: 0xFA0B0C, // red
1: 0xF44712, // red-orange
2: 0xF88010, // orange
3: 0xF5D23B, // orange-yellow
4: 0xF5F43C, // yellow
5: 0x149033, // green
6: 0x1B9081, // green-blue
7: 0x1C0D82, // blue
8: 0x4B0E7D, // blue-purple
9: 0x7F087C, // purple
10: 0xA61586, // purple-violet
11: 0xD71285 // violet
},
theodorSeemann: {
0: 0x6A1C1C, // carmine
1: 0xFA0B0C, // scarlet
2: 0xFF7D05, // orange
3: 0xFCD533, // yellow-orange
4: 0xF5F43C, // yellow
5: 0x169034, // green
6: 0x1B9081, // green blue
7: 0x1C0D82, // blue
8: 0x7F087C, // indigo
9: 0xD71386, // violet
10: 0x6A1C1C, // brown
11: 0x070707 // black
},
aWallaceRimington: {
0: 0xFA0B0C, // deep red
1: 0xA00C09, // crimson
2: 0xF44712, // orange-crimson
3: 0xF88010, // orange
4: 0xF5F43C, // yellow
5: 0x709226, // yellow-green
6: 0x149033, // green
7: 0x26A680, // blueish green
8: 0x1B9081, // blue-green
9: 0x7F087C, // indigo
10: 0x1C0D82, // deep blue
11: 0xD71386 // violet
},
hHelmholtz: {
0: 0xF5F43C, // yellow
1: 0x149033, // green
2: 0x1B9081, // greenish blue
3: 0x1C5BA0, // cayan-blue
4: 0x7F087C, // indigo blue
5: 0xD71386, // violet
6: 0x9D0E55, // end of red
7: 0xFA0B0C, // red
8: 0xD32C0A, // red
9: 0xD32C0A, // red
10: 0xD91951, // red orange
11: 0xF17A0F // orange
},
aScriabin: {
0: 0xFA0B0C, // red
1: 0xD71386, // violet
2: 0xF5F43C, // yellow
3: 0x5A5685, // steely with the glint of metal
4: 0x1C5BA0, // pearly blue the shimmer of moonshine
5: 0xA00C09, // dark red
6: 0x1C0D82, // bright blue
7: 0xF88010, // rosy orange
8: 0x7F0A7C, // purple
9: 0x149033, // green
10: 0x5A5685, // steely with a glint of metal
11: 0x1C5BA0 // pearly blue the shimmer of moonshine
},
aBernardKlein: {
0: 0xC40A09, // dark red
1: 0xFA0B0C, // red
2: 0xF44712, // red orange
3: 0xF88010, // orange
4: 0xF5F43C, // yellow
5: 0xBCE039, // yellow green
6: 0x149033, // green
7: 0x1B9081, // blue-green
8: 0x1C0D82, // blue
9: 0x781887, // blue violet
10: 0xD71386, // violet
11: 0x9D0E55 // dark violet
},
iJBelmont: {
0: 0xFA0B0C, // red
1: 0xF44712, // red-orange
2: 0xF88010, // orange
3: 0xF6D111, // yellow-orange
4: 0xF5F43C, // yellow
5: 0xBCE039, // yellow-green
6: 0x138F32, // green
7: 0x1B9081, // blue-green
8: 0x1C0D82, // blue
9: 0xA51585, // blue-violet
10: 0xD71386, // violet
11: 0xAD0E48 // red-violet
},
sZieverink: {
0: 0xBCE039, // yellow/green
1: 0x149033, // green
2: 0x1B9081, // blue/green
3: 0x1C0D82, // blue
4: 0x7F087C, // indigo
5: 0xD71386, // violet
6: 0x6F0D45, // ultra violet
7: 0xA00C09, // infra red
8: 0xFA0B0C, // red
9: 0xF88010, // orange
10: 0xEDF087, // yellow/white
11: 0xF5F43C // yellow
}
};
}));