Skip to content

Commit b47e174

Browse files
authored
Merge pull request #2178 from jamienunez/master
Added cividis, a new colormap mathematically optimized while consider…
2 parents 2f8da23 + 56f2827 commit b47e174

File tree

3 files changed

+2625
-0
lines changed

3 files changed

+2625
-0
lines changed

src/components/colorscale/scales.js

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,5 +125,17 @@ module.exports = {
125125
[0.7529411764705882, '#5ec962'], [0.8156862745098039, '#84d44b'],
126126
[0.8784313725490196, '#addc30'], [0.9411764705882353, '#d8e219'],
127127
[1, '#fde725']
128+
],
129+
130+
'Cividis': [
131+
[0.000000, 'rgb(0,32,76)'], [0.058824, 'rgb(0,42,102)'],
132+
[0.117647, 'rgb(0,52,110)'], [0.176471, 'rgb(39,63,108)'],
133+
[0.235294, 'rgb(60,74,107)'], [0.294118, 'rgb(76,85,107)'],
134+
[0.352941, 'rgb(91,95,109)'], [0.411765, 'rgb(104,106,112)'],
135+
[0.470588, 'rgb(117,117,117)'], [0.529412, 'rgb(131,129,120)'],
136+
[0.588235, 'rgb(146,140,120)'], [0.647059, 'rgb(161,152,118)'],
137+
[0.705882, 'rgb(176,165,114)'], [0.764706, 'rgb(192,177,109)'],
138+
[0.823529, 'rgb(209,191,102)'], [0.882353, 'rgb(225,204,92)'],
139+
[0.941176, 'rgb(243,219,79)'], [1.000000, 'rgb(255,233,69)']
128140
]
129141
};
36.4 KB
Loading

0 commit comments

Comments
 (0)