Skip to content

Instantly share code, notes, and snippets.

@daha
Created June 17, 2012 16:41
Show Gist options
  • Save daha/2945034 to your computer and use it in GitHub Desktop.
Save daha/2945034 to your computer and use it in GitHub Desktop.
CB palettes

This is a project showing the color palettes from colorbrewer.

// Copyright (c) 2012, David Haglund
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions
// are met:
//
// * Redistributions of source code must retain the above
// copyright notice, this list of conditions and the following
// disclaimer.
//
// * Redistributions in binary form must reproduce the above
// copyright notice, this list of conditions and the following
// disclaimer in the documentation and/or other materials
// provided with the distribution.
//
// * Neither the name of the copyright holder nor the names of its
// contributors may be used to endorse or promote products
// derived from this software without specific prior written
// permission.
//
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
// FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
// COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
// INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
// (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
// SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
// HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
// STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
// OF THE POSSIBILITY OF SUCH DAMAGE.
/*globals d3 */
(function () {
'use strict';
function cutOfLicense(data) {
data.splice(1689, data.length);
}
function convertIntegers(object) {
var fields = ["NumOfColors", "ColorNum", "R", "G", "B"];
fields.forEach(function (field) {
object[field] = +object[field];
});
}
function cleanupData(data) {
cutOfLicense(data);
return data.reduce(function (acc, val) {
convertIntegers(val);
if (val.ColorName !== "") {
acc.colorName = val.ColorName;
acc.numOfColors = val.NumOfColors;
acc.type = val.Type;
} else {
val.ColorName = acc.colorName;
val.NumOfColors = acc.numOfColors;
val.Type = acc.type;
}
acc.data.push(val);
return acc;
}, {"colorName": "", "numOfColors": 0, "type": "", "data": []}).data;
}
d3.csv("data/ColorBrewer_all_schemes_RGBonly4_withPalette_and_Macro.csv", function (inData) {
var svg, dataPatterns, pattern,
boxSize = 50,
boxMargin = 10,
textMargin = 100,
horizontalMargin = 20,
textSize = 20,
data = cleanupData(inData),
nestedData = d3.nest().key(function (d) { return d.ColorName + "-" + d.NumOfColors; }).entries(data),
width = horizontalMargin * 2 + 12 * boxSize + textMargin,
height = boxMargin + (boxSize + boxMargin) * nestedData.length;
svg = d3.select("#chart")
.append("svg")
.attr("title", "colorbrewer")
.attr("version", 1.1)
.attr("xmlns", "http://www.w3.org/2000/svg")
.attr("width", width)
.attr("height", height);
pattern = svg.selectAll("g.pattern")
.data(nestedData)
.enter()
.append("g")
.attr("transform", function (d, i) {
return "translate(" + horizontalMargin + "," +
(boxMargin + i * (boxSize + boxMargin)) + ")";
});
pattern.append("text")
.style("font-size", textSize.toString() + "px")
.style("fill", "#000")
.attr("transform", "translate(0," + (boxSize / 2 + textSize / 2.15) + ")")
.text(function (d) {
return d.key;
});
pattern.selectAll("rect")
.data(function (d) {
return d.values;
})
.enter()
.append("rect")
.attr("fill", function (d) {
return "rgb(" + d.R + "," + d.G + "," + d.B + ")";
})
.attr("transform", function (d, i) {
return "translate(" + (textMargin + i * boxSize + 0.5) + ",0.5)";
})
.attr("width", boxSize)
.attr("height", boxSize)
.style("border", "solid 1px #000")
.style("stroke", "#000")
.style("stroke-width", "1px");
});
}());
ColorName NumOfColors Type CritVal ColorNum ColorLetter R G B ColorPatch
YlGn 3 seq 1 C 247 252 185 18 Sequential Schemes
2 F 173 221 142 followed by 9 Diverging and 8 Qualitative
3 I 49 163 84
YlGn 4 seq 1 B 255 255 204
2 E 194 230 153
3 G 120 198 121
4 J 35 132 67
YlGn 5 seq 1 B 255 255 204
2 E 194 230 153
3 G 120 198 121
4 I 49 163 84
5 K 0 104 55
YlGn 6 seq 1 B 255 255 204
2 D 217 240 163
3 F 173 221 142
4 G 120 198 121
5 I 49 163 84
6 K 0 104 55
YlGn 7 seq 1 B 255 255 204
2 D 217 240 163
3 F 173 221 142
4 G 120 198 121
5 H 65 171 93
6 J 35 132 67
7 L 0 90 50
YlGn 8 seq 1 A 255 255 229
2 C 247 252 185
3 D 217 240 163
4 F 173 221 142
5 G 120 198 121
6 H 65 171 93
7 J 35 132 67
8 L 0 90 50
YlGn 9 seq 1 A 255 255 229
2 C 247 252 185
3 D 217 240 163
4 F 173 221 142
5 G 120 198 121
6 H 65 171 93
7 J 35 132 67
8 K 0 104 55
9 M 0 69 41
YlGnBu 3 seq 1 C 237 248 177
2 F 127 205 187
3 I 44 127 184
YlGnBu 4 seq 1 B 255 255 204
2 E 161 218 180
3 G 65 182 196
4 J 34 94 168
YlGnBu 5 seq 1 B 255 255 204
2 E 161 218 180
3 G 65 182 196
4 I 44 127 184
5 K 37 52 148
YlGnBu 6 seq 1 B 255 255 204
2 D 199 233 180
3 F 127 205 187
4 G 65 182 196
5 I 44 127 184
6 K 37 52 148
YlGnBu 7 seq 1 B 255 255 204
2 D 199 233 180
3 F 127 205 187
4 G 65 182 196
5 H 29 145 192
6 J 34 94 168
7 L 12 44 132
YlGnBu 8 seq 1 A 255 255 217
2 C 237 248 177
3 D 199 233 180
4 F 127 205 187
5 G 65 182 196
6 H 29 145 192
7 J 34 94 168
8 L 12 44 132
YlGnBu 9 seq 1 A 255 255 217
2 C 237 248 177
3 D 199 233 180
4 F 127 205 187
5 G 65 182 196
6 H 29 145 192
7 J 34 94 168
8 K 37 52 148
9 M 8 29 88
GnBu 3 seq 1 C 224 243 219
2 F 168 221 181
3 I 67 162 202
GnBu 4 seq 1 B 240 249 232
2 E 186 228 188
3 G 123 204 196
4 J 43 140 190
GnBu 5 seq 1 B 240 249 232
2 E 186 228 188
3 G 123 204 196
4 I 67 162 202
5 K 8 104 172
GnBu 6 seq 1 B 240 249 232
2 D 204 235 197
3 F 168 221 181
4 G 123 204 196
5 I 67 162 202
6 K 8 104 172
GnBu 7 seq 1 B 240 249 232
2 D 204 235 197
3 F 168 221 181
4 G 123 204 196
5 H 78 179 211
6 J 43 140 190
7 L 8 88 158
GnBu 8 seq 1 A 247 252 240
2 C 224 243 219
3 D 204 235 197
4 F 168 221 181
5 G 123 204 196
6 H 78 179 211
7 J 43 140 190
8 L 8 88 158
GnBu 9 seq 1 A 247 252 240
2 C 224 243 219
3 D 204 235 197
4 F 168 221 181
5 G 123 204 196
6 H 78 179 211
7 J 43 140 190
8 K 8 104 172
9 M 8 64 129
BuGn 3 seq 1 C 229 245 249
2 F 153 216 201
3 I 44 162 95
BuGn 4 seq 1 B 237 248 251
2 E 178 226 226
3 G 102 194 164
4 J 35 139 69
BuGn 5 seq 1 B 237 248 251
2 E 178 226 226
3 G 102 194 164
4 I 44 162 95
5 K 0 109 44
BuGn 6 seq 1 B 237 248 251
2 D 204 236 230
3 F 153 216 201
4 G 102 194 164
5 I 44 162 95
6 K 0 109 44
BuGn 7 seq 1 B 237 248 251
2 D 204 236 230
3 F 153 216 201
4 G 102 194 164
5 H 65 174 118
6 J 35 139 69
7 L 0 88 36
BuGn 8 seq 1 A 247 252 253
2 C 229 245 249
3 D 204 236 230
4 F 153 216 201
5 G 102 194 164
6 H 65 174 118
7 J 35 139 69
8 L 0 88 36
BuGn 9 seq 1 A 247 252 253
2 C 229 245 249
3 D 204 236 230
4 F 153 216 201
5 G 102 194 164
6 H 65 174 118
7 J 35 139 69
8 K 0 109 44
9 M 0 68 27
PuBuGn 3 seq 1 C 236 226 240
2 F 166 189 219
3 I 28 144 153
PuBuGn 4 seq 1 B 246 239 247
2 E 189 201 225
3 G 103 169 207
4 J 2 129 138
PuBuGn 5 seq 1 B 246 239 247
2 E 189 201 225
3 G 103 169 207
4 I 28 144 153
5 K 1 108 89
PuBuGn 6 seq 1 B 246 239 247
2 D 208 209 230
3 F 166 189 219
4 G 103 169 207
5 I 28 144 153
6 K 1 108 89
PuBuGn 7 seq 1 B 246 239 247
2 D 208 209 230
3 F 166 189 219
4 G 103 169 207
5 H 54 144 192
6 J 2 129 138
7 L 1 100 80
PuBuGn 8 seq 1 A 255 247 251
2 C 236 226 240
3 D 208 209 230
4 F 166 189 219
5 G 103 169 207
6 H 54 144 192
7 J 2 129 138
8 L 1 100 80
PuBuGn 9 seq 1 A 255 247 251
2 C 236 226 240
3 D 208 209 230
4 F 166 189 219
5 G 103 169 207
6 H 54 144 192
7 J 2 129 138
8 K 1 108 89
9 M 1 70 54
PuBu 3 seq 1 C 236 231 242
2 F 166 189 219
3 I 43 140 190
PuBu 4 seq 1 B 241 238 246
2 E 189 201 225
3 G 116 169 207
4 J 5 112 176
PuBu 5 seq 1 B 241 238 246
2 E 189 201 225
3 G 116 169 207
4 I 43 140 190
5 K 4 90 141
PuBu 6 seq 1 B 241 238 246
2 D 208 209 230
3 F 166 189 219
4 G 116 169 207
5 I 43 140 190
6 K 4 90 141
PuBu 7 seq 1 B 241 238 246
2 D 208 209 230
3 F 166 189 219
4 G 116 169 207
5 H 54 144 192
6 J 5 112 176
7 L 3 78 123
PuBu 8 seq 1 A 255 247 251
2 C 236 231 242
3 D 208 209 230
4 F 166 189 219
5 G 116 169 207
6 H 54 144 192
7 J 5 112 176
8 L 3 78 123
PuBu 9 seq 1 A 255 247 251
2 C 236 231 242
3 D 208 209 230
4 F 166 189 219
5 G 116 169 207
6 H 54 144 192
7 J 5 112 176
8 K 4 90 141
9 M 2 56 88
BuPu 3 seq 1 C 224 236 244
2 F 158 188 218
3 I 136 86 167
BuPu 4 seq 1 B 237 248 251
2 E 179 205 227
3 G 140 150 198
4 J 136 65 157
BuPu 5 seq 1 B 237 248 251
2 E 179 205 227
3 G 140 150 198
4 I 136 86 167
5 K 129 15 124
BuPu 6 seq 1 B 237 248 251
2 D 191 211 230
3 F 158 188 218
4 G 140 150 198
5 I 136 86 167
6 K 129 15 124
BuPu 7 seq 1 B 237 248 251
2 D 191 211 230
3 F 158 188 218
4 G 140 150 198
5 H 140 107 177
6 J 136 65 157
7 L 110 1 107
BuPu 8 seq 1 A 247 252 253
2 C 224 236 244
3 D 191 211 230
4 F 158 188 218
5 G 140 150 198
6 H 140 107 177
7 J 136 65 157
8 L 110 1 107
BuPu 9 seq 1 A 247 252 253
2 C 224 236 244
3 D 191 211 230
4 F 158 188 218
5 G 140 150 198
6 H 140 107 177
7 J 136 65 157
8 K 129 15 124
9 M 77 0 75
RdPu 3 seq 1 C 253 224 221
2 F 250 159 181
3 I 197 27 138
RdPu 4 seq 1 B 254 235 226
2 E 251 180 185
3 G 247 104 161
4 J 174 1 126
RdPu 5 seq 1 B 254 235 226
2 E 251 180 185
3 G 247 104 161
4 I 197 27 138
5 K 122 1 119
RdPu 6 seq 1 B 254 235 226
2 D 252 197 192
3 F 250 159 181
4 G 247 104 161
5 I 197 27 138
6 K 122 1 119
RdPu 7 seq 1 B 254 235 226
2 D 252 197 192
3 F 250 159 181
4 G 247 104 161
5 H 221 52 151
6 J 174 1 126
7 L 122 1 119
RdPu 8 seq 1 A 255 247 243
2 C 253 224 221
3 D 252 197 192
4 F 250 159 181
5 G 247 104 161
6 H 221 52 151
7 J 174 1 126
8 L 122 1 119
RdPu 9 seq 1 A 255 247 243
2 C 253 224 221
3 D 252 197 192
4 F 250 159 181
5 G 247 104 161
6 H 221 52 151
7 J 174 1 126
8 K 122 1 119
9 M 73 0 106
PuRd 3 seq 1 C 231 225 239
2 F 201 148 199
3 I 221 28 119
PuRd 4 seq 1 B 241 238 246
2 E 215 181 216
3 G 223 101 176
4 J 206 18 86
PuRd 5 seq 1 B 241 238 246
2 E 215 181 216
3 G 223 101 176
4 I 221 28 119
5 K 152 0 67
PuRd 6 seq 1 B 241 238 246
2 D 212 185 218
3 F 201 148 199
4 G 223 101 176
5 I 221 28 119
6 K 152 0 67
PuRd 7 seq 1 B 241 238 246
2 D 212 185 218
3 F 201 148 199
4 G 223 101 176
5 H 231 41 138
6 J 206 18 86
7 L 145 0 63
PuRd 8 seq 1 A 247 244 249
2 C 231 225 239
3 D 212 185 218
4 F 201 148 199
5 G 223 101 176
6 H 231 41 138
7 J 206 18 86
8 L 145 0 63
PuRd 9 seq 1 A 247 244 249
2 C 231 225 239
3 D 212 185 218
4 F 201 148 199
5 G 223 101 176
6 H 231 41 138
7 J 206 18 86
8 K 152 0 67
9 M 103 0 31
OrRd 3 seq 1 C 254 232 200
2 F 253 187 132
3 I 227 74 51
OrRd 4 seq 1 B 254 240 217
2 E 253 204 138
3 G 252 141 89
4 J 215 48 31
OrRd 5 seq 1 B 254 240 217
2 E 253 204 138
3 G 252 141 89
4 I 227 74 51
5 K 179 0 0
OrRd 6 seq 1 B 254 240 217
2 D 253 212 158
3 F 253 187 132
4 G 252 141 89
5 I 227 74 51
6 K 179 0 0
OrRd 7 seq 1 B 254 240 217
2 D 253 212 158
3 F 253 187 132
4 G 252 141 89
5 H 239 101 72
6 J 215 48 31
7 L 153 0 0
OrRd 8 seq 1 A 255 247 236
2 C 254 232 200
3 D 253 212 158
4 F 253 187 132
5 G 252 141 89
6 H 239 101 72
7 J 215 48 31
8 L 153 0 0
OrRd 9 seq 1 A 255 247 236
2 C 254 232 200
3 D 253 212 158
4 F 253 187 132
5 G 252 141 89
6 H 239 101 72
7 J 215 48 31
8 K 179 0 0
9 M 127 0 0
YlOrRd 3 seq 1 C 255 237 160
2 F 254 178 76
3 I 240 59 32
YlOrRd 4 seq 1 B 255 255 178
2 E 254 204 92
3 G 253 141 60
4 J 227 26 28
YlOrRd 5 seq 1 B 255 255 178
2 E 254 204 92
3 G 253 141 60
4 I 240 59 32
5 K 189 0 38
YlOrRd 6 seq 1 B 255 255 178
2 D 254 217 118
3 F 254 178 76
4 G 253 141 60
5 I 240 59 32
6 K 189 0 38
YlOrRd 7 seq 1 B 255 255 178
2 D 254 217 118
3 F 254 178 76
4 G 253 141 60
5 H 252 78 42
6 J 227 26 28
7 L 177 0 38
YlOrRd 8 seq 1 A 255 255 204
2 C 255 237 160
3 D 254 217 118
4 F 254 178 76
5 G 253 141 60
6 H 252 78 42
7 J 227 26 28
8 L 177 0 38
YlOrRd 9 seq 1 A 255 255 204
2 C 255 237 160
3 D 254 217 118
4 F 254 178 76
5 G 253 141 60
6 H 252 78 42
7 J 227 26 28
8 K 189 0 38
9 M 128 0 38
YlOrBr 3 seq 1 C 255 247 188
2 F 254 196 79
3 I 217 95 14
YlOrBr 4 seq 1 B 255 255 212
2 E 254 217 142
3 G 254 153 41
4 J 204 76 2
YlOrBr 5 seq 1 B 255 255 212
2 E 254 217 142
3 G 254 153 41
4 I 217 95 14
5 K 153 52 4
YlOrBr 6 seq 1 B 255 255 212
2 D 254 227 145
3 F 254 196 79
4 G 254 153 41
5 I 217 95 14
6 K 153 52 4
YlOrBr 7 seq 1 B 255 255 212
2 D 254 227 145
3 F 254 196 79
4 G 254 153 41
5 H 236 112 20
6 J 204 76 2
7 L 140 45 4
YlOrBr 8 seq 1 A 255 255 229
2 C 255 247 188
3 D 254 227 145
4 F 254 196 79
5 G 254 153 41
6 H 236 112 20
7 J 204 76 2
8 L 140 45 4
YlOrBr 9 seq 1 A 255 255 229
2 C 255 247 188
3 D 254 227 145
4 F 254 196 79
5 G 254 153 41
6 H 236 112 20
7 J 204 76 2
8 K 153 52 4
9 M 102 37 6
Purples 3 seq 1 C 239 237 245
2 F 188 189 220
3 I 117 107 177
Purples 4 seq 1 B 242 240 247
2 E 203 201 226
3 G 158 154 200
4 J 106 81 163
Purples 5 seq 1 B 242 240 247
2 E 203 201 226
3 G 158 154 200
4 I 117 107 177
5 K 84 39 143
Purples 6 seq 1 B 242 240 247
2 D 218 218 235
3 F 188 189 220
4 G 158 154 200
5 I 117 107 177
6 K 84 39 143
Purples 7 seq 1 B 242 240 247
2 D 218 218 235
3 F 188 189 220
4 G 158 154 200
5 H 128 125 186
6 J 106 81 163
7 L 74 20 134
Purples 8 seq 1 A 252 251 253
2 C 239 237 245
3 D 218 218 235
4 F 188 189 220
5 G 158 154 200
6 H 128 125 186
7 J 106 81 163
8 L 74 20 134
Purples 9 seq 1 A 252 251 253
2 C 239 237 245
3 D 218 218 235
4 F 188 189 220
5 G 158 154 200
6 H 128 125 186
7 J 106 81 163
8 K 84 39 143
9 M 63 0 125
Blues 3 seq 1 C 222 235 247
2 F 158 202 225
3 I 49 130 189
Blues 4 seq 1 B 239 243 255
2 E 189 215 231
3 G 107 174 214
4 J 33 113 181
Blues 5 seq 1 B 239 243 255
2 E 189 215 231
3 G 107 174 214
4 I 49 130 189
5 K 8 81 156
Blues 6 seq 1 B 239 243 255
2 D 198 219 239
3 F 158 202 225
4 G 107 174 214
5 I 49 130 189
6 K 8 81 156
Blues 7 seq 1 B 239 243 255
2 D 198 219 239
3 F 158 202 225
4 G 107 174 214
5 H 66 146 198
6 J 33 113 181
7 L 8 69 148
Blues 8 seq 1 A 247 251 255
2 C 222 235 247
3 D 198 219 239
4 F 158 202 225
5 G 107 174 214
6 H 66 146 198
7 J 33 113 181
8 L 8 69 148
Blues 9 seq 1 A 247 251 255
2 C 222 235 247
3 D 198 219 239
4 F 158 202 225
5 G 107 174 214
6 H 66 146 198
7 J 33 113 181
8 K 8 81 156
9 M 8 48 107
Greens 3 seq 1 C 229 245 224
2 F 161 217 155
3 I 49 163 84
Greens 4 seq 1 B 237 248 233
2 E 186 228 179
3 G 116 196 118
4 J 35 139 69
Greens 5 seq 1 B 237 248 233
2 E 186 228 179
3 G 116 196 118
4 I 49 163 84
5 K 0 109 44
Greens 6 seq 1 B 237 248 233
2 D 199 233 192
3 F 161 217 155
4 G 116 196 118
5 I 49 163 84
6 K 0 109 44
Greens 7 seq 1 B 237 248 233
2 D 199 233 192
3 F 161 217 155
4 G 116 196 118
5 H 65 171 93
6 J 35 139 69
7 L 0 90 50
Greens 8 seq 1 A 247 252 245
2 C 229 245 224
3 D 199 233 192
4 F 161 217 155
5 G 116 196 118
6 H 65 171 93
7 J 35 139 69
8 L 0 90 50
Greens 9 seq 1 A 247 252 245
2 C 229 245 224
3 D 199 233 192
4 F 161 217 155
5 G 116 196 118
6 H 65 171 93
7 J 35 139 69
8 K 0 109 44
9 M 0 68 27
Oranges 3 seq 1 C 254 230 206
2 F 253 174 107
3 I 230 85 13
Oranges 4 seq 1 B 254 237 222
2 E 253 190 133
3 G 253 141 60
4 J 217 71 1
Oranges 5 seq 1 B 254 237 222
2 E 253 190 133
3 G 253 141 60
4 I 230 85 13
5 K 166 54 3
Oranges 6 seq 1 B 254 237 222
2 D 253 208 162
3 F 253 174 107
4 G 253 141 60
5 I 230 85 13
6 K 166 54 3
Oranges 7 seq 1 B 254 237 222
2 D 253 208 162
3 F 253 174 107
4 G 253 141 60
5 H 241 105 19
6 J 217 72 1
7 L 140 45 4
Oranges 8 seq 1 A 255 245 235
2 C 254 230 206
3 D 253 208 162
4 F 253 174 107
5 G 253 141 60
6 H 241 105 19
7 J 217 72 1
8 L 140 45 4
Oranges 9 seq 1 A 255 245 235
2 C 254 230 206
3 D 253 208 162
4 F 253 174 107
5 G 253 141 60
6 H 241 105 19
7 J 217 72 1
8 K 166 54 3
9 M 127 39 4
Reds 3 seq 1 C 254 224 210
2 F 252 146 114
3 I 222 45 38
Reds 4 seq 1 B 254 229 217
2 E 252 174 145
3 G 251 106 74
4 J 203 24 29
Reds 5 seq 1 B 254 229 217
2 E 252 174 145
3 G 251 106 74
4 I 222 45 38
5 K 165 15 21
Reds 6 seq 1 B 254 229 217
2 D 252 187 161
3 F 252 146 114
4 G 251 106 74
5 I 222 45 38
6 K 165 15 21
Reds 7 seq 1 B 254 229 217
2 D 252 187 161
3 F 252 146 114
4 G 251 106 74
5 H 239 59 44
6 J 203 24 29
7 L 153 0 13
Reds 8 seq 1 A 255 245 240
2 C 254 224 210
3 D 252 187 161
4 F 252 146 114
5 G 251 106 74
6 H 239 59 44
7 J 203 24 29
8 L 153 0 13
Reds 9 seq 1 A 255 245 240
2 C 254 224 210
3 D 252 187 161
4 F 252 146 114
5 G 251 106 74
6 H 239 59 44
7 J 203 24 29
8 K 165 15 21
9 M 103 0 13
Greys 3 seq 1 C 240 240 240
2 F 189 189 189
3 I 99 99 99
Greys 4 seq 1 B 247 247 247
2 E 204 204 204
3 G 150 150 150
4 J 82 82 82
Greys 5 seq 1 B 247 247 247
2 E 204 204 204
3 G 150 150 150
4 I 99 99 99
5 K 37 37 37
Greys 6 seq 1 B 247 247 247
2 D 217 217 217
3 F 189 189 189
4 G 150 150 150
5 I 99 99 99
6 K 37 37 37
Greys 7 seq 1 B 247 247 247
2 D 217 217 217
3 F 189 189 189
4 G 150 150 150
5 H 115 115 115
6 J 82 82 82
7 L 37 37 37
Greys 8 seq 1 A 255 255 255
2 C 240 240 240
3 D 217 217 217
4 F 189 189 189
5 G 150 150 150
6 H 115 115 115
7 J 82 82 82
8 L 37 37 37
Greys 9 seq 1 A 255 255 255
2 C 240 240 240
3 D 217 217 217
4 F 189 189 189
5 G 150 150 150
6 H 115 115 115
7 J 82 82 82
8 K 37 37 37
9 M 0 0 0
PuOr 3 div 2 1 E 241 163 64
2 H 247 247 247 < 9 Diverging Schemes
3 K 153 142 195
PuOr 4 div 2,5 1 C 230 97 1 Note:
2 F 253 184 99 _ < marks critical class in diverging sheme
3 J 178 171 210 _ marks critical break
4 M 94 60 153
PuOr 5 div 3 1 C 230 97 1
2 F 253 184 99
3 H 247 247 247 <
4 J 178 171 210
5 M 94 60 153
PuOr 6 div 3,5 1 B 179 88 6
2 E 241 163 64
3 G 254 224 182 _
4 I 216 218 235
5 K 153 142 195
6 N 84 39 136
PuOr 7 div 4 1 B 179 88 6
2 E 241 163 64
3 G 254 224 182
4 H 247 247 247 <
5 I 216 218 235
6 K 153 142 195
7 N 84 39 136
PuOr 8 div 4,5 1 B 179 88 6
2 D 224 130 20
3 F 253 184 99
4 G 254 224 182 _
5 I 216 218 235
6 J 178 171 210
7 L 128 115 172
8 N 84 39 136
PuOr 9 div 5 1 B 179 88 6
2 D 224 130 20
3 F 253 184 99
4 G 254 224 182
5 H 247 247 247 <
6 I 216 218 235
7 J 178 171 210
8 L 128 115 172
9 N 84 39 136
PuOr 10 div 5,5 1 A 127 59 8
2 B 179 88 6
3 D 224 130 20
4 F 253 184 99
5 G 254 224 182 _
6 I 216 218 235
7 J 178 171 210
8 L 128 115 172
9 N 84 39 136
10 O 45 0 75
PuOr 11 div 6 1 A 127 59 8
2 B 179 88 6
3 D 224 130 20
4 F 253 184 99
5 G 254 224 182
6 H 247 247 247 <
7 I 216 218 235
8 J 178 171 210
9 L 128 115 172
10 N 84 39 136
11 O 45 0 75
BrBG 3 div 2 1 E 216 179 101
2 H 245 245 245 <
3 K 90 180 172
BrBG 4 div 2,5 1 C 166 97 26
2 F 223 194 125 _
3 J 128 205 193
4 M 1 133 113
BrBG 5 div 3 1 C 166 97 26
2 F 223 194 125
3 H 245 245 245 <
4 J 128 205 193
5 M 1 133 113
BrBG 6 div 3,5 1 B 140 81 10
2 E 216 179 101
3 G 246 232 195 _
4 I 199 234 229
5 K 90 180 172
6 N 1 102 94
BrBG 7 div 4 1 B 140 81 10
2 E 216 179 101
3 G 246 232 195
4 H 245 245 245 <
5 I 199 234 229
6 K 90 180 172
7 N 1 102 94
BrBG 8 div 4,5 1 B 140 81 10
2 D 191 129 45
3 F 223 194 125
4 G 246 232 195 _
5 I 199 234 229
6 J 128 205 193
7 L 53 151 143
8 N 1 102 94
BrBG 9 div 5 1 B 140 81 10
2 D 191 129 45
3 F 223 194 125
4 G 246 232 195
5 H 245 245 245 <
6 I 199 234 229
7 J 128 205 193
8 L 53 151 143
9 N 1 102 94
BrBG 10 div 5,5 1 A 84 48 5
2 B 140 81 10
3 D 191 129 45
4 F 223 194 125
5 G 246 232 195 _
6 I 199 234 229
7 J 128 205 193
8 L 53 151 143
9 N 1 102 94
10 O 0 60 48
BrBG 11 div 6 1 A 84 48 5
2 B 140 81 10
3 D 191 129 45
4 F 223 194 125
5 G 246 232 195
6 H 245 245 245 <
7 I 199 234 229
8 J 128 205 193
9 L 53 151 143
10 N 1 102 94
11 O 0 60 48
PRGn 3 div 2 1 E 175 141 195
2 H 247 247 247 <
3 K 127 191 123
PRGn 4 div 2,5 1 C 123 50 148
2 F 194 165 207 _
3 J 166 219 160
4 M 0 136 55
PRGn 5 div 3 1 C 123 50 148
2 F 194 165 207
3 H 247 247 247 <
4 J 166 219 160
5 M 0 136 55
PRGn 6 div 3,5 1 B 118 42 131
2 E 175 141 195
3 G 231 212 232 _
4 I 217 240 211
5 K 127 191 123
6 N 27 120 55
PRGn 7 div 4 1 B 118 42 131
2 E 175 141 195
3 G 231 212 232
4 H 247 247 247 <
5 I 217 240 211
6 K 127 191 123
7 N 27 120 55
PRGn 8 div 4,5 1 B 118 42 131
2 D 153 112 171
3 F 194 165 207
4 G 231 212 232 _
5 I 217 240 211
6 J 166 219 160
7 L 90 174 97
8 N 27 120 55
PRGn 9 div 5 1 B 118 42 131
2 D 153 112 171
3 F 194 165 207
4 G 231 212 232
5 H 247 247 247 <
6 I 217 240 211
7 J 166 219 160
8 L 90 174 97
9 N 27 120 55
PRGn 10 div 5,5 1 A 64 0 75
2 B 118 42 131
3 D 153 112 171
4 F 194 165 207
5 G 231 212 232 _
6 I 217 240 211
7 J 166 219 160
8 L 90 174 97
9 N 27 120 55
10 O 0 68 27
PRGn 11 div 6 1 A 64 0 75
2 B 118 42 131
3 D 153 112 171
4 F 194 165 207
5 G 231 212 232
6 H 247 247 247 <
7 I 217 240 211
8 J 166 219 160
9 L 90 174 97
10 N 27 120 55
11 O 0 68 27
PiYG 3 div 2 1 E 233 163 201
2 H 247 247 247 <
3 K 161 215 106
PiYG 4 div 2,5 1 C 208 28 139
2 F 241 182 218 _
3 J 184 225 134
4 M 77 172 38
PiYG 5 div 3 1 C 208 28 139
2 F 241 182 218
3 H 247 247 247 <
4 J 184 225 134
5 M 77 172 38
PiYG 6 div 3,5 1 B 197 27 125
2 E 233 163 201
3 G 253 224 239 _
4 I 230 245 208
5 K 161 215 106
6 N 77 146 33
PiYG 7 div 4 1 B 197 27 125
2 E 233 163 201
3 G 253 224 239
4 H 247 247 247 <
5 I 230 245 208
6 K 161 215 106
7 N 77 146 33
PiYG 8 div 4,5 1 B 197 27 125
2 D 222 119 174
3 F 241 182 218
4 G 253 224 239 _
5 I 230 245 208
6 J 184 225 134
7 L 127 188 65
8 N 77 146 33
PiYG 9 div 5 1 B 197 27 125
2 D 222 119 174
3 F 241 182 218
4 G 253 224 239
5 H 247 247 247 <
6 I 230 245 208
7 J 184 225 134
8 L 127 188 65
9 N 77 146 33
PiYG 10 div 5,5 1 A 142 1 82
2 B 197 27 125
3 D 222 119 174
4 F 241 182 218
5 G 253 224 239 _
6 I 230 245 208
7 J 184 225 134
8 L 127 188 65
9 N 77 146 33
10 O 39 100 25
PiYG 11 div 6 1 A 142 1 82
2 B 197 27 125
3 D 222 119 174
4 F 241 182 218
5 G 253 224 239
6 H 247 247 247 <
7 I 230 245 208
8 J 184 225 134
9 L 127 188 65
10 N 77 146 33
11 O 39 100 25
RdBu 3 div 2 1 E 239 138 98
2 H 247 247 247 <
3 K 103 169 207
RdBu 4 div 2,5 1 C 202 0 32
2 F 244 165 130 _
3 J 146 197 222
4 M 5 113 176
RdBu 5 div 3 1 C 202 0 32
2 F 244 165 130
3 H 247 247 247 <
4 J 146 197 222
5 M 5 113 176
RdBu 6 div 3,5 1 B 178 24 43
2 E 239 138 98
3 G 253 219 199 _
4 I 209 229 240
5 K 103 169 207
6 N 33 102 172
RdBu 7 div 4 1 B 178 24 43
2 E 239 138 98
3 G 253 219 199
4 H 247 247 247 <
5 I 209 229 240
6 K 103 169 207
7 N 33 102 172
RdBu 8 div 4,5 1 B 178 24 43
2 D 214 96 77
3 F 244 165 130
4 G 253 219 199 _
5 I 209 229 240
6 J 146 197 222
7 L 67 147 195
8 N 33 102 172
RdBu 9 div 5 1 B 178 24 43
2 D 214 96 77
3 F 244 165 130
4 G 253 219 199
5 H 247 247 247 <
6 I 209 229 240
7 J 146 197 222
8 L 67 147 195
9 N 33 102 172
RdBu 10 div 5,5 1 A 103 0 31
2 B 178 24 43
3 D 214 96 77
4 F 244 165 130
5 G 253 219 199 _
6 I 209 229 240
7 J 146 197 222
8 L 67 147 195
9 N 33 102 172
10 O 5 48 97
RdBu 11 div 6 1 A 103 0 31
2 B 178 24 43
3 D 214 96 77
4 F 244 165 130
5 G 253 219 199
6 H 247 247 247 <
7 I 209 229 240
8 J 146 197 222
9 L 67 147 195
10 N 33 102 172
11 O 5 48 97
RdGy 3 div 2 1 E 239 138 98
2 H 255 255 255 <
3 K 153 153 153
RdGy 4 div 2,5 1 C 202 0 32
2 F 244 165 130 _
3 J 186 186 186
4 M 64 64 64
RdGy 5 div 3 1 C 202 0 32
2 F 244 165 130
3 H 255 255 255 <
4 J 186 186 186
5 M 64 64 64
RdGy 6 div 3,5 1 B 178 24 43
2 E 239 138 98
3 G 253 219 199 _
4 I 224 224 224
5 K 153 153 153
6 N 77 77 77
RdGy 7 div 4 1 B 178 24 43
2 E 239 138 98
3 G 253 219 199
4 H 255 255 255 <
5 I 224 224 224
6 K 153 153 153
7 N 77 77 77
RdGy 8 div 4,5 1 B 178 24 43
2 D 214 96 77
3 F 244 165 130
4 G 253 219 199 _
5 I 224 224 224
6 J 186 186 186
7 L 135 135 135
8 N 77 77 77
RdGy 9 div 5 1 B 178 24 43
2 D 214 96 77
3 F 244 165 130
4 G 253 219 199
5 H 255 255 255 <
6 I 224 224 224
7 J 186 186 186
8 L 135 135 135
9 N 77 77 77
RdGy 10 div 5,5 1 A 103 0 31
2 B 178 24 43
3 D 214 96 77
4 F 244 165 130
5 G 253 219 199 _
6 I 224 224 224
7 J 186 186 186
8 L 135 135 135
9 N 77 77 77
10 O 26 26 26
RdGy 11 div 6 1 A 103 0 31
2 B 178 24 43
3 D 214 96 77
4 F 244 165 130
5 G 253 219 199
6 H 255 255 255 <
7 I 224 224 224
8 J 186 186 186
9 L 135 135 135
10 N 77 77 77
11 O 26 26 26
RdYlBu 3 div 2 1 E 252 141 89
2 H 255 255 191 <
3 K 145 191 219
RdYlBu 4 div 2,5 1 C 215 25 28
2 F 253 174 97 _
3 J 171 217 233
4 M 44 123 182
RdYlBu 5 div 3 1 C 215 25 28
2 F 253 174 97
3 H 255 255 191 <
4 J 171 217 233
5 M 44 123 182
RdYlBu 6 div 3,5 1 B 215 48 39
2 E 252 141 89
3 G 254 224 144 _
4 I 224 243 248
5 K 145 191 219
6 N 69 117 180
RdYlBu 7 div 4 1 B 215 48 39
2 E 252 141 89
3 G 254 224 144
4 H 255 255 191 <
5 I 224 243 248
6 K 145 191 219
7 N 69 117 180
RdYlBu 8 div 4,5 1 B 215 48 39
2 D 244 109 67
3 F 253 174 97
4 G 254 224 144 _
5 I 224 243 248
6 J 171 217 233
7 L 116 173 209
8 N 69 117 180
RdYlBu 9 div 5 1 B 215 48 39
2 D 244 109 67
3 F 253 174 97
4 G 254 224 144
5 H 255 255 191 <
6 I 224 243 248
7 J 171 217 233
8 L 116 173 209
9 N 69 117 180
RdYlBu 10 div 5,5 1 A 165 0 38
2 B 215 48 39
3 D 244 109 67
4 F 253 174 97
5 G 254 224 144 _
6 I 224 243 248
7 J 171 217 233
8 L 116 173 209
9 N 69 117 180
10 O 49 54 149
RdYlBu 11 div 6 1 A 165 0 38
2 B 215 48 39
3 D 244 109 67
4 F 253 174 97
5 G 254 224 144
6 H 255 255 191 <
7 I 224 243 248
8 J 171 217 233
9 L 116 173 209
10 N 69 117 180
11 O 49 54 149
Spectral 3 div 2 1 E 252 141 89
2 H 255 255 191 <
3 K 153 213 148
Spectral 4 div 2,5 1 C 215 25 28
2 F 253 174 97 _
3 J 171 221 164
4 M 43 131 186
Spectral 5 div 3 1 C 215 25 28
2 F 253 174 97
3 H 255 255 191 <
4 J 171 221 164
5 M 43 131 186
Spectral 6 div 3,5 1 B 213 62 79
2 E 252 141 89
3 G 254 224 139 _
4 I 230 245 152
5 K 153 213 148
6 N 50 136 189
Spectral 7 div 4 1 B 213 62 79
2 E 252 141 89
3 G 254 224 139
4 H 255 255 191 <
5 I 230 245 152
6 K 153 213 148
7 N 50 136 189
Spectral 8 div 4,5 1 B 213 62 79
2 D 244 109 67
3 F 253 174 97
4 G 254 224 139 _
5 I 230 245 152
6 J 171 221 164
7 L 102 194 165
8 N 50 136 189
Spectral 9 div 5 1 B 213 62 79
2 D 244 109 67
3 F 253 174 97
4 G 254 224 139
5 H 255 255 191 <
6 I 230 245 152
7 J 171 221 164
8 L 102 194 165
9 N 50 136 189
Spectral 10 div 5,5 1 A 158 1 66
2 B 213 62 79
3 D 244 109 67
4 F 253 174 97
5 G 254 224 139 _
6 I 230 245 152
7 J 171 221 164
8 L 102 194 165
9 N 50 136 189
10 O 94 79 162
Spectral 11 div 6 1 A 158 1 66
2 B 213 62 79
3 D 244 109 67
4 F 253 174 97
5 G 254 224 139
6 H 255 255 191 <
7 I 230 245 152
8 J 171 221 164
9 L 102 194 165
10 N 50 136 189
11 O 94 79 162
RdYlGn 3 div 2 1 E 252 141 89
2 H 255 255 191 <
3 K 145 207 96
RdYlGn 4 div 2,5 1 C 215 25 28
2 F 253 174 97 _
3 J 166 217 106
4 M 26 150 65
RdYlGn 5 div 3 1 C 215 25 28
2 F 253 174 97
3 H 255 255 191 <
4 J 166 217 106
5 M 26 150 65
RdYlGn 6 div 3,5 1 B 215 48 39
2 E 252 141 89
3 G 254 224 139 _
4 I 217 239 139
5 K 145 207 96
6 N 26 152 80
RdYlGn 7 div 4 1 B 215 48 39
2 E 252 141 89
3 G 254 224 139
4 H 255 255 191 <
5 I 217 239 139
6 K 145 207 96
7 N 26 152 80
RdYlGn 8 div 4,5 1 B 215 48 39
2 D 244 109 67
3 F 253 174 97
4 G 254 224 139 _
5 I 217 239 139
6 J 166 217 106
7 L 102 189 99
8 N 26 152 80
RdYlGn 9 div 5 1 B 215 48 39
2 D 244 109 67
3 F 253 174 97
4 G 254 224 139
5 H 255 255 191 <
6 I 217 239 139
7 J 166 217 106
8 L 102 189 99
9 N 26 152 80
RdYlGn 10 div 5,5 1 A 165 0 38
2 B 215 48 39
3 D 244 109 67
4 F 253 174 97
5 G 254 224 139 _
6 I 217 239 139
7 J 166 217 106
8 L 102 189 99
9 N 26 152 80
10 O 0 104 55
RdYlGn 11 div 6 1 A 165 0 38
2 B 215 48 39
3 D 244 109 67
4 F 253 174 97
5 G 254 224 139
6 H 255 255 191 <
7 I 217 239 139
8 J 166 217 106
9 L 102 189 99
10 N 26 152 80
11 O 0 104 55
Set3 3 qual 1 A 141 211 199
2 B 255 255 179 8 Qualitative Schemes
3 C 190 186 218
Set3 4 qual 1 A 141 211 199
2 B 255 255 179
3 C 190 186 218
4 D 251 128 114
Set3 5 qual 1 A 141 211 199
2 B 255 255 179
3 C 190 186 218
4 D 251 128 114
5 E 128 177 211
Set3 6 qual 1 A 141 211 199
2 B 255 255 179
3 C 190 186 218
4 D 251 128 114
5 E 128 177 211
6 F 253 180 98
Set3 7 qual 1 A 141 211 199
2 B 255 255 179
3 C 190 186 218
4 D 251 128 114
5 E 128 177 211
6 F 253 180 98
7 G 179 222 105
Set3 8 qual 1 A 141 211 199
2 B 255 255 179
3 C 190 186 218
4 D 251 128 114
5 E 128 177 211
6 F 253 180 98
7 G 179 222 105
8 H 252 205 229
Set3 9 qual 1 A 141 211 199
2 B 255 255 179
3 C 190 186 218
4 D 251 128 114
5 E 128 177 211
6 F 253 180 98
7 G 179 222 105
8 H 252 205 229
9 I 217 217 217
Set3 10 qual 1 A 141 211 199
2 B 255 255 179
3 C 190 186 218
4 D 251 128 114
5 E 128 177 211
6 F 253 180 98
7 G 179 222 105
8 H 252 205 229
9 I 217 217 217
10 J 188 128 189
Set3 11 qual 1 A 141 211 199
2 B 255 255 179
3 C 190 186 218
4 D 251 128 114
5 E 128 177 211
6 F 253 180 98
7 G 179 222 105
8 H 252 205 229
9 I 217 217 217
10 J 188 128 189
11 K 204 235 197
Set3 12 qual 1 A 141 211 199
2 B 255 255 179
3 C 190 186 218
4 D 251 128 114
5 E 128 177 211
6 F 253 180 98
7 G 179 222 105
8 H 252 205 229
9 I 217 217 217
10 J 188 128 189
11 K 204 235 197
12 L 255 237 111
Pastel1 3 qual 1 A 251 180 174
2 B 179 205 227
3 C 204 235 197
Pastel1 4 qual 1 A 251 180 174
2 B 179 205 227
3 C 204 235 197
4 D 222 203 228
Pastel1 5 qual 1 A 251 180 174
2 B 179 205 227
3 C 204 235 197
4 D 222 203 228
5 E 254 217 166
Pastel1 6 qual 1 A 251 180 174
2 B 179 205 227
3 C 204 235 197
4 D 222 203 228
5 E 254 217 166
6 F 255 255 204
Pastel1 7 qual 1 A 251 180 174
2 B 179 205 227
3 C 204 235 197
4 D 222 203 228
5 E 254 217 166
6 F 255 255 204
7 G 229 216 189
Pastel1 8 qual 1 A 251 180 174
2 B 179 205 227
3 C 204 235 197
4 D 222 203 228
5 E 254 217 166
6 F 255 255 204
7 G 229 216 189
8 H 253 218 236
Pastel1 9 qual 1 A 251 180 174
2 B 179 205 227
3 C 204 235 197
4 D 222 203 228
5 E 254 217 166
6 F 255 255 204
7 G 229 216 189
8 H 253 218 236
9 I 242 242 242
Set1 3 qual 1 A 228 26 28
2 B 55 126 184
3 C 77 175 74
Set1 4 qual 1 A 228 26 28
2 B 55 126 184
3 C 77 175 74
4 D 152 78 163
Set1 5 qual 1 A 228 26 28
2 B 55 126 184
3 C 77 175 74
4 D 152 78 163
5 E 255 127 0
Set1 6 qual 1 A 228 26 28
2 B 55 126 184
3 C 77 175 74
4 D 152 78 163
5 E 255 127 0
6 F 255 255 51
Set1 7 qual 1 A 228 26 28
2 B 55 126 184
3 C 77 175 74
4 D 152 78 163
5 E 255 127 0
6 F 255 255 51
7 G 166 86 40
Set1 8 qual 1 A 228 26 28
2 B 55 126 184
3 C 77 175 74
4 D 152 78 163
5 E 255 127 0
6 F 255 255 51
7 G 166 86 40
8 H 247 129 191
Set1 9 qual 1 A 228 26 28
2 B 55 126 184
3 C 77 175 74
4 D 152 78 163
5 E 255 127 0
6 F 255 255 51
7 G 166 86 40
8 H 247 129 191
9 I 153 153 153
Pastel2 3 qual 1 A 179 226 205
2 B 253 205 172
3 C 203 213 232
Pastel2 4 qual 1 A 179 226 205
2 B 253 205 172
3 C 203 213 232
4 D 244 202 228
Pastel2 5 qual 1 A 179 226 205
2 B 253 205 172
3 C 203 213 232
4 D 244 202 228
5 E 230 245 201
Pastel2 6 qual 1 A 179 226 205
2 B 253 205 172
3 C 203 213 232
4 D 244 202 228
5 E 230 245 201
6 F 255 242 174
Pastel2 7 qual 1 A 179 226 205
2 B 253 205 172
3 C 203 213 232
4 D 244 202 228
5 E 230 245 201
6 F 255 242 174
7 G 241 226 204
Pastel2 8 qual 1 A 179 226 205
2 B 253 205 172
3 C 203 213 232
4 D 244 202 228
5 E 230 245 201
6 F 255 242 174
7 G 241 226 204
8 H 204 204 204
Set2 3 qual 1 A 102 194 165
2 B 252 141 98
3 C 141 160 203
Set2 4 qual 1 A 102 194 165
2 B 252 141 98
3 C 141 160 203
4 D 231 138 195
Set2 5 qual 1 A 102 194 165
2 B 252 141 98
3 C 141 160 203
4 D 231 138 195
5 E 166 216 84
Set2 6 qual 1 A 102 194 165
2 B 252 141 98
3 C 141 160 203
4 D 231 138 195
5 E 166 216 84
6 F 255 217 47
Set2 7 qual 1 A 102 194 165
2 B 252 141 98
3 C 141 160 203
4 D 231 138 195
5 E 166 216 84
6 F 255 217 47
7 G 229 196 148
Set2 8 qual 1 A 102 194 165
2 B 252 141 98
3 C 141 160 203
4 D 231 138 195
5 E 166 216 84
6 F 255 217 47
7 G 229 196 148
8 H 179 179 179
Dark2 3 qual 1 A 27 158 119
2 B 217 95 2
3 C 117 112 179
Dark2 4 qual 1 A 27 158 119
2 B 217 95 2
3 C 117 112 179
4 D 231 41 138
Dark2 5 qual 1 A 27 158 119
2 B 217 95 2
3 C 117 112 179
4 D 231 41 138
5 E 102 166 30
Dark2 6 qual 1 A 27 158 119
2 B 217 95 2
3 C 117 112 179
4 D 231 41 138
5 E 102 166 30
6 F 230 171 2
Dark2 7 qual 1 A 27 158 119
2 B 217 95 2
3 C 117 112 179
4 D 231 41 138
5 E 102 166 30
6 F 230 171 2
7 G 166 118 29
Dark2 8 qual 1 A 27 158 119
2 B 217 95 2
3 C 117 112 179
4 D 231 41 138
5 E 102 166 30
6 F 230 171 2
7 G 166 118 29
8 H 102 102 102
Paired 3 qual 1 A 166 206 227
2 B 31 120 180
3 C 178 223 138
Paired 4 qual 1 A 166 206 227
2 B 31 120 180
3 C 178 223 138
4 D 51 160 44
Paired 5 qual 1 A 166 206 227
2 B 31 120 180
3 C 178 223 138
4 D 51 160 44
5 E 251 154 153
Paired 6 qual 1 A 166 206 227
2 B 31 120 180
3 C 178 223 138
4 D 51 160 44
5 E 251 154 153
6 F 227 26 28
Paired 7 qual 1 A 166 206 227
2 B 31 120 180
3 C 178 223 138
4 D 51 160 44
5 E 251 154 153
6 F 227 26 28
7 G 253 191 111
Paired 8 qual 1 A 166 206 227
2 B 31 120 180
3 C 178 223 138
4 D 51 160 44
5 E 251 154 153
6 F 227 26 28
7 G 253 191 111
8 H 255 127 0
Paired 9 qual 1 A 166 206 227
2 B 31 120 180
3 C 178 223 138
4 D 51 160 44
5 E 251 154 153
6 F 227 26 28
7 G 253 191 111
8 H 255 127 0
9 I 202 178 214
Paired 10 qual 1 A 166 206 227
2 B 31 120 180
3 C 178 223 138
4 D 51 160 44
5 E 251 154 153
6 F 227 26 28
7 G 253 191 111
8 H 255 127 0
9 I 202 178 214
10 J 106 61 154
Paired 11 qual 1 A 166 206 227
2 B 31 120 180
3 C 178 223 138
4 D 51 160 44
5 E 251 154 153
6 F 227 26 28
7 G 253 191 111
8 H 255 127 0
9 I 202 178 214
10 J 106 61 154
11 K 255 255 153
Paired 12 qual 1 A 166 206 227
2 B 31 120 180
3 C 178 223 138
4 D 51 160 44
5 E 251 154 153
6 F 227 26 28
7 G 253 191 111
8 H 255 127 0
9 I 202 178 214
10 J 106 61 154
11 K 255 255 153
12 L 177 89 40
Accent 3 qual 1 A 127 201 127
2 B 190 174 212
3 C 253 192 134
Accent 4 qual 1 A 127 201 127
2 B 190 174 212
3 C 253 192 134
4 D 255 255 153
Accent 5 qual 1 A 127 201 127
2 B 190 174 212
3 C 253 192 134
4 D 255 255 153
5 E 56 108 176
Accent 6 qual 1 A 127 201 127
2 B 190 174 212
3 C 253 192 134
4 D 255 255 153
5 E 56 108 176
6 F 240 2 127
Accent 7 qual 1 A 127 201 127
2 B 190 174 212
3 C 253 192 134
4 D 255 255 153
5 E 56 108 176
6 F 240 2 127
7 G 191 91 23
Accent 8 qual 1 A 127 201 127
2 B 190 174 212
3 C 253 192 134
4 D 255 255 153
5 E 56 108 176
6 F 240 2 127
7 G 191 91 23
8 H 102 102 102
Apache-Style Software License for ColorBrewer software and ColorBrewer Color Schemes
Copyright (c) 2002 Cynthia Brewer, Mark Harrower, and The Pennsylvania State University.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and limitations under the License.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
1. Redistributions as source code must retain the above copyright notice, this list of conditions and the following disclaimer.
2. The end-user documentation included with the redistribution, if any, must include the following acknowledgment:
This product includes color specifications and designs developed by Cynthia Brewer (http://colorbrewer.org/).
Alternately, this acknowledgment may appear in the software itself, if and wherever such third-party acknowledgments normally appear.
4. The name "ColorBrewer" must not be used to endorse or promote products derived from this software without prior written permission.
For written permission, please contact Cynthia Brewer at cbrewer@psu.edu.
5. Products derived from this software may not be called "ColorBrewer", nor may "ColorBrewer" appear in their name, without prior written permission of Cynthia Brewer.
This version of the file (4) is sorted to have schemes in the same order as on the ColorBrewer site. Color patches are included
in column K. These were programmed by David P. Ryan as rectangles filled with corresponding RGB colors and inserted in the
cells as comments. Thank you to David for the idea and initiative in making the color examples available in the file.
The original ColorBrewer web site is at http://ColorBrewer.org
For more information about ColorBrewer, check the updates section of the site at http://www.personal.psu.edu/cab38/ColorBrewer/ColorBrewer_updates.html
aside {
font-size: small;
right: 10px;
position: absolute;
width: 200px;
}
svg {
overflow: hidden;
}
path {
stroke: #000;
stroke-width: .5px;
}
<!DOCYTPE html>
<meta charset='utf-8'>
<title>Visualization of the colors in colorbrewer</title>
<header></header>
<div id='chart'></div>
<link href='css/default.css' rel='stylesheet' type='text/css'/>
<script src="http://d3js.org/d3.v2.js"></script>
<script src='src/colorbrewer.js' type='text/javascript' charset='utf-8'></script>
<footer>
</footer>
Copyright (c) 2012, David Haglund
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above
copyright notice, this list of conditions and the following
disclaimer in the documentation and/or other materials provided
with the distribution.
* Neither the name of the copyright holder nor the names of its
contributors may be used to endorse or promote products derived
from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Apache-Style Software License for ColorBrewer software and ColorBrewer Color
Schemes
Copyright (c) 2002 Cynthia Brewer, Mark Harrower, and The Pennsylvania State
University.
Licensed under the Apache License, Version 2.0 (the "License"); you may not
use this file except in compliance with the License. You may obtain a copy of
the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
License for the specific language governing permissions and limitations under
the License.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions as source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
2. The end-user documentation included with the redistribution, if any, must
include the following acknowledgment: "This product includes color
specifications and designs developed by Cynthia Brewer
(http://colorbrewer.org/)." Alternately, this acknowledgment may appear in the
software itself, if and wherever such third-party acknowledgments normally
appear.
4. The name "ColorBrewer" must not be used to endorse or promote products
derived from this software without prior written permission. For written
permission, please contact Cynthia Brewer at cbrewer@psu.edu.
5. Products derived from this software may not be called "ColorBrewer", nor
may "ColorBrewer" appear in their name, without prior written permission of
Cynthia Brewer.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment