blob: c5c91eee85b8b3fb4f97cd3936fe9bbaaad52958 [file] [log] [blame]
Akronbe105b92016-01-04 14:13:20 +01001define(['util'],function () {
2 /*
3 * Created with http://tools.medialab.sciences-po.fr/iwanthue/
4 * and H: 0-360, C: 0.4-2.1, L: 0.7-1.5, 64 colors
5 */
Akron0b489ad2018-02-02 16:49:32 +01006 const palette = [
Akronbe105b92016-01-04 14:13:20 +01007 '9C8AC7',
8 '6DED31',
9 'DF7F23',
10 '5AECD1',
11 'F54597',
12 'D4D275',
13 'E6A8A1',
14 '67E682',
15 '719A93',
16 'E67AE6',
17 'E8F03F',
18 'F45042',
19 '6D9C25',
20 'D0C3D9',
21 'E37076',
22 '509A58',
23 'BE9962',
24 'D88AB6',
25 '71ABCE',
26 '62DCEB',
27 'D4B73C',
28 'A0E5B0',
29 '5BBB26',
30 'A7E230',
31 '7E8EEA',
32 'D1856B',
33 '59E9A9',
34 'F24A61',
35 'A6D455',
36 'AEE38B',
37 '4DA385',
38 '999C46',
39 'AFDDDE',
40 'BA85E0',
41 'B68C31',
42 '8AA46C',
43 'D9874C',
44 'A18EA8',
45 'E56BAC',
46 'ECA72F',
47 '3AE152',
48 '5B9EDF',
49 'E9672F',
50 '43B046',
51 'E96D59',
52 'D6B3E6',
53 'E6BB6A',
54 '92C5A9',
55 'BE7C85',
56 '9C9B1E',
57 'CCD896',
58 '84E861',
59 'DA7093',
60 'DDEA6F',
61 'BCC92E',
62 '59C9BD',
63 '52A8B0',
64 '51BC7C',
65 '7EB051',
66 'F0D036',
67 'D970C5',
68 'E95F7D',
69 'EF9798',
70 'ED5490'
71 ];
72
73 KorAP.Palette = {
74 getC : function (index) {
75 return '#' + palette[index % 64];
76 }
77 };
78
79 return KorAP.Palette;
80});