brewer

package
v0.0.0-...-abd1f79 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 23, 2017 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Overview

Package brewer provides color specifications and designs developed by Cynthia Brewer (http://colorbrewer.org/).

Please see license at http://colorbrewer.org/export/LICENSE.txt.

This package provides three different types of color palettes. Sequential palettes are for ordered data that progresses from low to high. Diverging palettes are like sequential palettes, but have a defined middle and two extremes. Finally, qualitative palettes are for unordered or nominal data. See "Brewer, Cynthia A. 1994. Color use guidelines for mapping and visualization. Chapter 7 (pp. 123–147) in Visualization in Modern Cartography" for more details.

All palettes provided by this package are discrete, but each comes in several variants with different numbers of discrete levels. These variants are named <palette>_<n> where n is the number of levels.

Each palette also provides a variable named <palette> that is a map from the number of levels to the specific variants.

Finally, the global ByName map from string name to palette.

Index

Constants

This section is empty.

Variables

View Source
var (
	// Accent is a qualitative palette.
	Accent   = map[int][]color.Color{3: Accent_3, 4: Accent_4, 5: Accent_5, 6: Accent_6, 7: Accent_7, 8: Accent_8}
	Accent_3 = []color.Color{color.RGBA{127, 201, 127, 255}, color.RGBA{190, 174, 212, 255}, color.RGBA{253, 192, 134, 255}}
	Accent_4 = []color.Color{color.RGBA{127, 201, 127, 255}, color.RGBA{190, 174, 212, 255}, color.RGBA{253, 192, 134, 255}, color.RGBA{255, 255, 153, 255}}
	Accent_5 = []color.Color{color.RGBA{127, 201, 127, 255}, color.RGBA{190, 174, 212, 255}, color.RGBA{253, 192, 134, 255}, color.RGBA{255, 255, 153, 255}, color.RGBA{56, 108, 176, 255}}
	Accent_6 = []color.Color{color.RGBA{127, 201, 127, 255}, color.RGBA{190, 174, 212, 255}, color.RGBA{253, 192, 134, 255}, color.RGBA{255, 255, 153, 255}, color.RGBA{56, 108, 176, 255}, color.RGBA{240, 2, 127, 255}}
	Accent_7 = []color.Color{color.RGBA{127, 201, 127, 255}, color.RGBA{190, 174, 212, 255}, color.RGBA{253, 192, 134, 255}, color.RGBA{255, 255, 153, 255}, color.RGBA{56, 108, 176, 255}, color.RGBA{240, 2, 127, 255}, color.RGBA{191, 91, 23, 255}}
	Accent_8 = []color.Color{color.RGBA{127, 201, 127, 255}, color.RGBA{190, 174, 212, 255}, color.RGBA{253, 192, 134, 255}, color.RGBA{255, 255, 153, 255}, color.RGBA{56, 108, 176, 255}, color.RGBA{240, 2, 127, 255}, color.RGBA{191, 91, 23, 255}, color.RGBA{102, 102, 102, 255}}
)
View Source
var (
	// Blues is a sequential palette.
	Blues   = map[int][]color.Color{3: Blues_3, 4: Blues_4, 5: Blues_5, 6: Blues_6, 7: Blues_7, 8: Blues_8, 9: Blues_9}
	Blues_3 = []color.Color{color.RGBA{222, 235, 247, 255}, color.RGBA{158, 202, 225, 255}, color.RGBA{49, 130, 189, 255}}
	Blues_4 = []color.Color{color.RGBA{239, 243, 255, 255}, color.RGBA{189, 215, 231, 255}, color.RGBA{107, 174, 214, 255}, color.RGBA{33, 113, 181, 255}}
	Blues_5 = []color.Color{color.RGBA{239, 243, 255, 255}, color.RGBA{189, 215, 231, 255}, color.RGBA{107, 174, 214, 255}, color.RGBA{49, 130, 189, 255}, color.RGBA{8, 81, 156, 255}}
	Blues_6 = []color.Color{color.RGBA{239, 243, 255, 255}, color.RGBA{198, 219, 239, 255}, color.RGBA{158, 202, 225, 255}, color.RGBA{107, 174, 214, 255}, color.RGBA{49, 130, 189, 255}, color.RGBA{8, 81, 156, 255}}
	Blues_7 = []color.Color{color.RGBA{239, 243, 255, 255}, color.RGBA{198, 219, 239, 255}, color.RGBA{158, 202, 225, 255}, color.RGBA{107, 174, 214, 255}, color.RGBA{66, 146, 198, 255}, color.RGBA{33, 113, 181, 255}, color.RGBA{8, 69, 148, 255}}
	Blues_8 = []color.Color{color.RGBA{247, 251, 255, 255}, color.RGBA{222, 235, 247, 255}, color.RGBA{198, 219, 239, 255}, color.RGBA{158, 202, 225, 255}, color.RGBA{107, 174, 214, 255}, color.RGBA{66, 146, 198, 255}, color.RGBA{33, 113, 181, 255}, color.RGBA{8, 69, 148, 255}}
	Blues_9 = []color.Color{color.RGBA{247, 251, 255, 255}, color.RGBA{222, 235, 247, 255}, color.RGBA{198, 219, 239, 255}, color.RGBA{158, 202, 225, 255}, color.RGBA{107, 174, 214, 255}, color.RGBA{66, 146, 198, 255}, color.RGBA{33, 113, 181, 255}, color.RGBA{8, 81, 156, 255}, color.RGBA{8, 48, 107, 255}}
)
View Source
var (
	// BrBG is a diverging palette.
	BrBG    = map[int][]color.Color{3: BrBG_3, 4: BrBG_4, 5: BrBG_5, 6: BrBG_6, 7: BrBG_7, 8: BrBG_8, 9: BrBG_9, 10: BrBG_10, 11: BrBG_11}
	BrBG_3  = []color.Color{color.RGBA{216, 179, 101, 255}, color.RGBA{245, 245, 245, 255}, color.RGBA{90, 180, 172, 255}}
	BrBG_4  = []color.Color{color.RGBA{166, 97, 26, 255}, color.RGBA{223, 194, 125, 255}, color.RGBA{128, 205, 193, 255}, color.RGBA{1, 133, 113, 255}}
	BrBG_5  = []color.Color{color.RGBA{166, 97, 26, 255}, color.RGBA{223, 194, 125, 255}, color.RGBA{245, 245, 245, 255}, color.RGBA{128, 205, 193, 255}, color.RGBA{1, 133, 113, 255}}
	BrBG_6  = []color.Color{color.RGBA{140, 81, 10, 255}, color.RGBA{216, 179, 101, 255}, color.RGBA{246, 232, 195, 255}, color.RGBA{199, 234, 229, 255}, color.RGBA{90, 180, 172, 255}, color.RGBA{1, 102, 94, 255}}
	BrBG_7  = []color.Color{color.RGBA{140, 81, 10, 255}, color.RGBA{216, 179, 101, 255}, color.RGBA{246, 232, 195, 255}, color.RGBA{245, 245, 245, 255}, color.RGBA{199, 234, 229, 255}, color.RGBA{90, 180, 172, 255}, color.RGBA{1, 102, 94, 255}}
	BrBG_8  = []color.Color{color.RGBA{140, 81, 10, 255}, color.RGBA{191, 129, 45, 255}, color.RGBA{223, 194, 125, 255}, color.RGBA{246, 232, 195, 255}, color.RGBA{199, 234, 229, 255}, color.RGBA{128, 205, 193, 255}, color.RGBA{53, 151, 143, 255}, color.RGBA{1, 102, 94, 255}}
	BrBG_9  = []color.Color{color.RGBA{140, 81, 10, 255}, color.RGBA{191, 129, 45, 255}, color.RGBA{223, 194, 125, 255}, color.RGBA{246, 232, 195, 255}, color.RGBA{245, 245, 245, 255}, color.RGBA{199, 234, 229, 255}, color.RGBA{128, 205, 193, 255}, color.RGBA{53, 151, 143, 255}, color.RGBA{1, 102, 94, 255}}
	BrBG_10 = []color.Color{color.RGBA{84, 48, 5, 255}, color.RGBA{140, 81, 10, 255}, color.RGBA{191, 129, 45, 255}, color.RGBA{223, 194, 125, 255}, color.RGBA{246, 232, 195, 255}, color.RGBA{199, 234, 229, 255}, color.RGBA{128, 205, 193, 255}, color.RGBA{53, 151, 143, 255}, color.RGBA{1, 102, 94, 255}, color.RGBA{0, 60, 48, 255}}
	BrBG_11 = []color.Color{color.RGBA{84, 48, 5, 255}, color.RGBA{140, 81, 10, 255}, color.RGBA{191, 129, 45, 255}, color.RGBA{223, 194, 125, 255}, color.RGBA{246, 232, 195, 255}, color.RGBA{245, 245, 245, 255}, color.RGBA{199, 234, 229, 255}, color.RGBA{128, 205, 193, 255}, color.RGBA{53, 151, 143, 255}, color.RGBA{1, 102, 94, 255}, color.RGBA{0, 60, 48, 255}}
)
View Source
var (
	// BuGn is a sequential palette.
	BuGn   = map[int][]color.Color{3: BuGn_3, 4: BuGn_4, 5: BuGn_5, 6: BuGn_6, 7: BuGn_7, 8: BuGn_8, 9: BuGn_9}
	BuGn_3 = []color.Color{color.RGBA{229, 245, 249, 255}, color.RGBA{153, 216, 201, 255}, color.RGBA{44, 162, 95, 255}}
	BuGn_4 = []color.Color{color.RGBA{237, 248, 251, 255}, color.RGBA{178, 226, 226, 255}, color.RGBA{102, 194, 164, 255}, color.RGBA{35, 139, 69, 255}}
	BuGn_5 = []color.Color{color.RGBA{237, 248, 251, 255}, color.RGBA{178, 226, 226, 255}, color.RGBA{102, 194, 164, 255}, color.RGBA{44, 162, 95, 255}, color.RGBA{0, 109, 44, 255}}
	BuGn_6 = []color.Color{color.RGBA{237, 248, 251, 255}, color.RGBA{204, 236, 230, 255}, color.RGBA{153, 216, 201, 255}, color.RGBA{102, 194, 164, 255}, color.RGBA{44, 162, 95, 255}, color.RGBA{0, 109, 44, 255}}
	BuGn_7 = []color.Color{color.RGBA{237, 248, 251, 255}, color.RGBA{204, 236, 230, 255}, color.RGBA{153, 216, 201, 255}, color.RGBA{102, 194, 164, 255}, color.RGBA{65, 174, 118, 255}, color.RGBA{35, 139, 69, 255}, color.RGBA{0, 88, 36, 255}}
	BuGn_8 = []color.Color{color.RGBA{247, 252, 253, 255}, color.RGBA{229, 245, 249, 255}, color.RGBA{204, 236, 230, 255}, color.RGBA{153, 216, 201, 255}, color.RGBA{102, 194, 164, 255}, color.RGBA{65, 174, 118, 255}, color.RGBA{35, 139, 69, 255}, color.RGBA{0, 88, 36, 255}}
	BuGn_9 = []color.Color{color.RGBA{247, 252, 253, 255}, color.RGBA{229, 245, 249, 255}, color.RGBA{204, 236, 230, 255}, color.RGBA{153, 216, 201, 255}, color.RGBA{102, 194, 164, 255}, color.RGBA{65, 174, 118, 255}, color.RGBA{35, 139, 69, 255}, color.RGBA{0, 109, 44, 255}, color.RGBA{0, 68, 27, 255}}
)
View Source
var (
	// BuPu is a sequential palette.
	BuPu   = map[int][]color.Color{3: BuPu_3, 4: BuPu_4, 5: BuPu_5, 6: BuPu_6, 7: BuPu_7, 8: BuPu_8, 9: BuPu_9}
	BuPu_3 = []color.Color{color.RGBA{224, 236, 244, 255}, color.RGBA{158, 188, 218, 255}, color.RGBA{136, 86, 167, 255}}
	BuPu_4 = []color.Color{color.RGBA{237, 248, 251, 255}, color.RGBA{179, 205, 227, 255}, color.RGBA{140, 150, 198, 255}, color.RGBA{136, 65, 157, 255}}
	BuPu_5 = []color.Color{color.RGBA{237, 248, 251, 255}, color.RGBA{179, 205, 227, 255}, color.RGBA{140, 150, 198, 255}, color.RGBA{136, 86, 167, 255}, color.RGBA{129, 15, 124, 255}}
	BuPu_6 = []color.Color{color.RGBA{237, 248, 251, 255}, color.RGBA{191, 211, 230, 255}, color.RGBA{158, 188, 218, 255}, color.RGBA{140, 150, 198, 255}, color.RGBA{136, 86, 167, 255}, color.RGBA{129, 15, 124, 255}}
	BuPu_7 = []color.Color{color.RGBA{237, 248, 251, 255}, color.RGBA{191, 211, 230, 255}, color.RGBA{158, 188, 218, 255}, color.RGBA{140, 150, 198, 255}, color.RGBA{140, 107, 177, 255}, color.RGBA{136, 65, 157, 255}, color.RGBA{110, 1, 107, 255}}
	BuPu_8 = []color.Color{color.RGBA{247, 252, 253, 255}, color.RGBA{224, 236, 244, 255}, color.RGBA{191, 211, 230, 255}, color.RGBA{158, 188, 218, 255}, color.RGBA{140, 150, 198, 255}, color.RGBA{140, 107, 177, 255}, color.RGBA{136, 65, 157, 255}, color.RGBA{110, 1, 107, 255}}
	BuPu_9 = []color.Color{color.RGBA{247, 252, 253, 255}, color.RGBA{224, 236, 244, 255}, color.RGBA{191, 211, 230, 255}, color.RGBA{158, 188, 218, 255}, color.RGBA{140, 150, 198, 255}, color.RGBA{140, 107, 177, 255}, color.RGBA{136, 65, 157, 255}, color.RGBA{129, 15, 124, 255}, color.RGBA{77, 0, 75, 255}}
)
View Source
var (
	// Dark2 is a qualitative palette.
	Dark2   = map[int][]color.Color{3: Dark2_3, 4: Dark2_4, 5: Dark2_5, 6: Dark2_6, 7: Dark2_7, 8: Dark2_8}
	Dark2_3 = []color.Color{color.RGBA{27, 158, 119, 255}, color.RGBA{217, 95, 2, 255}, color.RGBA{117, 112, 179, 255}}
	Dark2_4 = []color.Color{color.RGBA{27, 158, 119, 255}, color.RGBA{217, 95, 2, 255}, color.RGBA{117, 112, 179, 255}, color.RGBA{231, 41, 138, 255}}
	Dark2_5 = []color.Color{color.RGBA{27, 158, 119, 255}, color.RGBA{217, 95, 2, 255}, color.RGBA{117, 112, 179, 255}, color.RGBA{231, 41, 138, 255}, color.RGBA{102, 166, 30, 255}}
	Dark2_6 = []color.Color{color.RGBA{27, 158, 119, 255}, color.RGBA{217, 95, 2, 255}, color.RGBA{117, 112, 179, 255}, color.RGBA{231, 41, 138, 255}, color.RGBA{102, 166, 30, 255}, color.RGBA{230, 171, 2, 255}}
	Dark2_7 = []color.Color{color.RGBA{27, 158, 119, 255}, color.RGBA{217, 95, 2, 255}, color.RGBA{117, 112, 179, 255}, color.RGBA{231, 41, 138, 255}, color.RGBA{102, 166, 30, 255}, color.RGBA{230, 171, 2, 255}, color.RGBA{166, 118, 29, 255}}
	Dark2_8 = []color.Color{color.RGBA{27, 158, 119, 255}, color.RGBA{217, 95, 2, 255}, color.RGBA{117, 112, 179, 255}, color.RGBA{231, 41, 138, 255}, color.RGBA{102, 166, 30, 255}, color.RGBA{230, 171, 2, 255}, color.RGBA{166, 118, 29, 255}, color.RGBA{102, 102, 102, 255}}
)
View Source
var (
	// GnBu is a sequential palette.
	GnBu   = map[int][]color.Color{3: GnBu_3, 4: GnBu_4, 5: GnBu_5, 6: GnBu_6, 7: GnBu_7, 8: GnBu_8, 9: GnBu_9}
	GnBu_3 = []color.Color{color.RGBA{224, 243, 219, 255}, color.RGBA{168, 221, 181, 255}, color.RGBA{67, 162, 202, 255}}
	GnBu_4 = []color.Color{color.RGBA{240, 249, 232, 255}, color.RGBA{186, 228, 188, 255}, color.RGBA{123, 204, 196, 255}, color.RGBA{43, 140, 190, 255}}
	GnBu_5 = []color.Color{color.RGBA{240, 249, 232, 255}, color.RGBA{186, 228, 188, 255}, color.RGBA{123, 204, 196, 255}, color.RGBA{67, 162, 202, 255}, color.RGBA{8, 104, 172, 255}}
	GnBu_6 = []color.Color{color.RGBA{240, 249, 232, 255}, color.RGBA{204, 235, 197, 255}, color.RGBA{168, 221, 181, 255}, color.RGBA{123, 204, 196, 255}, color.RGBA{67, 162, 202, 255}, color.RGBA{8, 104, 172, 255}}
	GnBu_7 = []color.Color{color.RGBA{240, 249, 232, 255}, color.RGBA{204, 235, 197, 255}, color.RGBA{168, 221, 181, 255}, color.RGBA{123, 204, 196, 255}, color.RGBA{78, 179, 211, 255}, color.RGBA{43, 140, 190, 255}, color.RGBA{8, 88, 158, 255}}
	GnBu_8 = []color.Color{color.RGBA{247, 252, 240, 255}, color.RGBA{224, 243, 219, 255}, color.RGBA{204, 235, 197, 255}, color.RGBA{168, 221, 181, 255}, color.RGBA{123, 204, 196, 255}, color.RGBA{78, 179, 211, 255}, color.RGBA{43, 140, 190, 255}, color.RGBA{8, 88, 158, 255}}
	GnBu_9 = []color.Color{color.RGBA{247, 252, 240, 255}, color.RGBA{224, 243, 219, 255}, color.RGBA{204, 235, 197, 255}, color.RGBA{168, 221, 181, 255}, color.RGBA{123, 204, 196, 255}, color.RGBA{78, 179, 211, 255}, color.RGBA{43, 140, 190, 255}, color.RGBA{8, 104, 172, 255}, color.RGBA{8, 64, 129, 255}}
)
View Source
var (
	// Greens is a sequential palette.
	Greens   = map[int][]color.Color{3: Greens_3, 4: Greens_4, 5: Greens_5, 6: Greens_6, 7: Greens_7, 8: Greens_8, 9: Greens_9}
	Greens_3 = []color.Color{color.RGBA{229, 245, 224, 255}, color.RGBA{161, 217, 155, 255}, color.RGBA{49, 163, 84, 255}}
	Greens_4 = []color.Color{color.RGBA{237, 248, 233, 255}, color.RGBA{186, 228, 179, 255}, color.RGBA{116, 196, 118, 255}, color.RGBA{35, 139, 69, 255}}
	Greens_5 = []color.Color{color.RGBA{237, 248, 233, 255}, color.RGBA{186, 228, 179, 255}, color.RGBA{116, 196, 118, 255}, color.RGBA{49, 163, 84, 255}, color.RGBA{0, 109, 44, 255}}
	Greens_6 = []color.Color{color.RGBA{237, 248, 233, 255}, color.RGBA{199, 233, 192, 255}, color.RGBA{161, 217, 155, 255}, color.RGBA{116, 196, 118, 255}, color.RGBA{49, 163, 84, 255}, color.RGBA{0, 109, 44, 255}}
	Greens_7 = []color.Color{color.RGBA{237, 248, 233, 255}, color.RGBA{199, 233, 192, 255}, color.RGBA{161, 217, 155, 255}, color.RGBA{116, 196, 118, 255}, color.RGBA{65, 171, 93, 255}, color.RGBA{35, 139, 69, 255}, color.RGBA{0, 90, 50, 255}}
	Greens_8 = []color.Color{color.RGBA{247, 252, 245, 255}, color.RGBA{229, 245, 224, 255}, color.RGBA{199, 233, 192, 255}, color.RGBA{161, 217, 155, 255}, color.RGBA{116, 196, 118, 255}, color.RGBA{65, 171, 93, 255}, color.RGBA{35, 139, 69, 255}, color.RGBA{0, 90, 50, 255}}
	Greens_9 = []color.Color{color.RGBA{247, 252, 245, 255}, color.RGBA{229, 245, 224, 255}, color.RGBA{199, 233, 192, 255}, color.RGBA{161, 217, 155, 255}, color.RGBA{116, 196, 118, 255}, color.RGBA{65, 171, 93, 255}, color.RGBA{35, 139, 69, 255}, color.RGBA{0, 109, 44, 255}, color.RGBA{0, 68, 27, 255}}
)
View Source
var (
	// Greys is a sequential palette.
	Greys   = map[int][]color.Color{3: Greys_3, 4: Greys_4, 5: Greys_5, 6: Greys_6, 7: Greys_7, 8: Greys_8, 9: Greys_9}
	Greys_3 = []color.Color{color.RGBA{240, 240, 240, 255}, color.RGBA{189, 189, 189, 255}, color.RGBA{99, 99, 99, 255}}
	Greys_4 = []color.Color{color.RGBA{247, 247, 247, 255}, color.RGBA{204, 204, 204, 255}, color.RGBA{150, 150, 150, 255}, color.RGBA{82, 82, 82, 255}}
	Greys_5 = []color.Color{color.RGBA{247, 247, 247, 255}, color.RGBA{204, 204, 204, 255}, color.RGBA{150, 150, 150, 255}, color.RGBA{99, 99, 99, 255}, color.RGBA{37, 37, 37, 255}}
	Greys_6 = []color.Color{color.RGBA{247, 247, 247, 255}, color.RGBA{217, 217, 217, 255}, color.RGBA{189, 189, 189, 255}, color.RGBA{150, 150, 150, 255}, color.RGBA{99, 99, 99, 255}, color.RGBA{37, 37, 37, 255}}
	Greys_7 = []color.Color{color.RGBA{247, 247, 247, 255}, color.RGBA{217, 217, 217, 255}, color.RGBA{189, 189, 189, 255}, color.RGBA{150, 150, 150, 255}, color.RGBA{115, 115, 115, 255}, color.RGBA{82, 82, 82, 255}, color.RGBA{37, 37, 37, 255}}
	Greys_8 = []color.Color{color.RGBA{255, 255, 255, 255}, color.RGBA{240, 240, 240, 255}, color.RGBA{217, 217, 217, 255}, color.RGBA{189, 189, 189, 255}, color.RGBA{150, 150, 150, 255}, color.RGBA{115, 115, 115, 255}, color.RGBA{82, 82, 82, 255}, color.RGBA{37, 37, 37, 255}}
	Greys_9 = []color.Color{color.RGBA{255, 255, 255, 255}, color.RGBA{240, 240, 240, 255}, color.RGBA{217, 217, 217, 255}, color.RGBA{189, 189, 189, 255}, color.RGBA{150, 150, 150, 255}, color.RGBA{115, 115, 115, 255}, color.RGBA{82, 82, 82, 255}, color.RGBA{37, 37, 37, 255}, color.RGBA{0, 0, 0, 255}}
)
View Source
var (
	// OrRd is a sequential palette.
	OrRd   = map[int][]color.Color{3: OrRd_3, 4: OrRd_4, 5: OrRd_5, 6: OrRd_6, 7: OrRd_7, 8: OrRd_8, 9: OrRd_9}
	OrRd_3 = []color.Color{color.RGBA{254, 232, 200, 255}, color.RGBA{253, 187, 132, 255}, color.RGBA{227, 74, 51, 255}}
	OrRd_4 = []color.Color{color.RGBA{254, 240, 217, 255}, color.RGBA{253, 204, 138, 255}, color.RGBA{252, 141, 89, 255}, color.RGBA{215, 48, 31, 255}}
	OrRd_5 = []color.Color{color.RGBA{254, 240, 217, 255}, color.RGBA{253, 204, 138, 255}, color.RGBA{252, 141, 89, 255}, color.RGBA{227, 74, 51, 255}, color.RGBA{179, 0, 0, 255}}
	OrRd_6 = []color.Color{color.RGBA{254, 240, 217, 255}, color.RGBA{253, 212, 158, 255}, color.RGBA{253, 187, 132, 255}, color.RGBA{252, 141, 89, 255}, color.RGBA{227, 74, 51, 255}, color.RGBA{179, 0, 0, 255}}
	OrRd_7 = []color.Color{color.RGBA{254, 240, 217, 255}, color.RGBA{253, 212, 158, 255}, color.RGBA{253, 187, 132, 255}, color.RGBA{252, 141, 89, 255}, color.RGBA{239, 101, 72, 255}, color.RGBA{215, 48, 31, 255}, color.RGBA{153, 0, 0, 255}}
	OrRd_8 = []color.Color{color.RGBA{255, 247, 236, 255}, color.RGBA{254, 232, 200, 255}, color.RGBA{253, 212, 158, 255}, color.RGBA{253, 187, 132, 255}, color.RGBA{252, 141, 89, 255}, color.RGBA{239, 101, 72, 255}, color.RGBA{215, 48, 31, 255}, color.RGBA{153, 0, 0, 255}}
	OrRd_9 = []color.Color{color.RGBA{255, 247, 236, 255}, color.RGBA{254, 232, 200, 255}, color.RGBA{253, 212, 158, 255}, color.RGBA{253, 187, 132, 255}, color.RGBA{252, 141, 89, 255}, color.RGBA{239, 101, 72, 255}, color.RGBA{215, 48, 31, 255}, color.RGBA{179, 0, 0, 255}, color.RGBA{127, 0, 0, 255}}
)
View Source
var (
	// Oranges is a sequential palette.
	Oranges   = map[int][]color.Color{3: Oranges_3, 4: Oranges_4, 5: Oranges_5, 6: Oranges_6, 7: Oranges_7, 8: Oranges_8, 9: Oranges_9}
	Oranges_3 = []color.Color{color.RGBA{254, 230, 206, 255}, color.RGBA{253, 174, 107, 255}, color.RGBA{230, 85, 13, 255}}
	Oranges_4 = []color.Color{color.RGBA{254, 237, 222, 255}, color.RGBA{253, 190, 133, 255}, color.RGBA{253, 141, 60, 255}, color.RGBA{217, 71, 1, 255}}
	Oranges_5 = []color.Color{color.RGBA{254, 237, 222, 255}, color.RGBA{253, 190, 133, 255}, color.RGBA{253, 141, 60, 255}, color.RGBA{230, 85, 13, 255}, color.RGBA{166, 54, 3, 255}}
	Oranges_6 = []color.Color{color.RGBA{254, 237, 222, 255}, color.RGBA{253, 208, 162, 255}, color.RGBA{253, 174, 107, 255}, color.RGBA{253, 141, 60, 255}, color.RGBA{230, 85, 13, 255}, color.RGBA{166, 54, 3, 255}}
	Oranges_7 = []color.Color{color.RGBA{254, 237, 222, 255}, color.RGBA{253, 208, 162, 255}, color.RGBA{253, 174, 107, 255}, color.RGBA{253, 141, 60, 255}, color.RGBA{241, 105, 19, 255}, color.RGBA{217, 72, 1, 255}, color.RGBA{140, 45, 4, 255}}
	Oranges_8 = []color.Color{color.RGBA{255, 245, 235, 255}, color.RGBA{254, 230, 206, 255}, color.RGBA{253, 208, 162, 255}, color.RGBA{253, 174, 107, 255}, color.RGBA{253, 141, 60, 255}, color.RGBA{241, 105, 19, 255}, color.RGBA{217, 72, 1, 255}, color.RGBA{140, 45, 4, 255}}
	Oranges_9 = []color.Color{color.RGBA{255, 245, 235, 255}, color.RGBA{254, 230, 206, 255}, color.RGBA{253, 208, 162, 255}, color.RGBA{253, 174, 107, 255}, color.RGBA{253, 141, 60, 255}, color.RGBA{241, 105, 19, 255}, color.RGBA{217, 72, 1, 255}, color.RGBA{166, 54, 3, 255}, color.RGBA{127, 39, 4, 255}}
)
View Source
var (
	// PRGn is a diverging palette.
	PRGn    = map[int][]color.Color{3: PRGn_3, 4: PRGn_4, 5: PRGn_5, 6: PRGn_6, 7: PRGn_7, 8: PRGn_8, 9: PRGn_9, 10: PRGn_10, 11: PRGn_11}
	PRGn_3  = []color.Color{color.RGBA{175, 141, 195, 255}, color.RGBA{247, 247, 247, 255}, color.RGBA{127, 191, 123, 255}}
	PRGn_4  = []color.Color{color.RGBA{123, 50, 148, 255}, color.RGBA{194, 165, 207, 255}, color.RGBA{166, 219, 160, 255}, color.RGBA{0, 136, 55, 255}}
	PRGn_5  = []color.Color{color.RGBA{123, 50, 148, 255}, color.RGBA{194, 165, 207, 255}, color.RGBA{247, 247, 247, 255}, color.RGBA{166, 219, 160, 255}, color.RGBA{0, 136, 55, 255}}
	PRGn_6  = []color.Color{color.RGBA{118, 42, 131, 255}, color.RGBA{175, 141, 195, 255}, color.RGBA{231, 212, 232, 255}, color.RGBA{217, 240, 211, 255}, color.RGBA{127, 191, 123, 255}, color.RGBA{27, 120, 55, 255}}
	PRGn_7  = []color.Color{color.RGBA{118, 42, 131, 255}, color.RGBA{175, 141, 195, 255}, color.RGBA{231, 212, 232, 255}, color.RGBA{247, 247, 247, 255}, color.RGBA{217, 240, 211, 255}, color.RGBA{127, 191, 123, 255}, color.RGBA{27, 120, 55, 255}}
	PRGn_8  = []color.Color{color.RGBA{118, 42, 131, 255}, color.RGBA{153, 112, 171, 255}, color.RGBA{194, 165, 207, 255}, color.RGBA{231, 212, 232, 255}, color.RGBA{217, 240, 211, 255}, color.RGBA{166, 219, 160, 255}, color.RGBA{90, 174, 97, 255}, color.RGBA{27, 120, 55, 255}}
	PRGn_9  = []color.Color{color.RGBA{118, 42, 131, 255}, color.RGBA{153, 112, 171, 255}, color.RGBA{194, 165, 207, 255}, color.RGBA{231, 212, 232, 255}, color.RGBA{247, 247, 247, 255}, color.RGBA{217, 240, 211, 255}, color.RGBA{166, 219, 160, 255}, color.RGBA{90, 174, 97, 255}, color.RGBA{27, 120, 55, 255}}
	PRGn_10 = []color.Color{color.RGBA{64, 0, 75, 255}, color.RGBA{118, 42, 131, 255}, color.RGBA{153, 112, 171, 255}, color.RGBA{194, 165, 207, 255}, color.RGBA{231, 212, 232, 255}, color.RGBA{217, 240, 211, 255}, color.RGBA{166, 219, 160, 255}, color.RGBA{90, 174, 97, 255}, color.RGBA{27, 120, 55, 255}, color.RGBA{0, 68, 27, 255}}
	PRGn_11 = []color.Color{color.RGBA{64, 0, 75, 255}, color.RGBA{118, 42, 131, 255}, color.RGBA{153, 112, 171, 255}, color.RGBA{194, 165, 207, 255}, color.RGBA{231, 212, 232, 255}, color.RGBA{247, 247, 247, 255}, color.RGBA{217, 240, 211, 255}, color.RGBA{166, 219, 160, 255}, color.RGBA{90, 174, 97, 255}, color.RGBA{27, 120, 55, 255}, color.RGBA{0, 68, 27, 255}}
)
View Source
var (
	// Paired is a qualitative palette.
	Paired    = map[int][]color.Color{3: Paired_3, 4: Paired_4, 5: Paired_5, 6: Paired_6, 7: Paired_7, 8: Paired_8, 9: Paired_9, 10: Paired_10, 11: Paired_11, 12: Paired_12}
	Paired_3  = []color.Color{color.RGBA{166, 206, 227, 255}, color.RGBA{31, 120, 180, 255}, color.RGBA{178, 223, 138, 255}}
	Paired_4  = []color.Color{color.RGBA{166, 206, 227, 255}, color.RGBA{31, 120, 180, 255}, color.RGBA{178, 223, 138, 255}, color.RGBA{51, 160, 44, 255}}
	Paired_5  = []color.Color{color.RGBA{166, 206, 227, 255}, color.RGBA{31, 120, 180, 255}, color.RGBA{178, 223, 138, 255}, color.RGBA{51, 160, 44, 255}, color.RGBA{251, 154, 153, 255}}
	Paired_6  = []color.Color{color.RGBA{166, 206, 227, 255}, color.RGBA{31, 120, 180, 255}, color.RGBA{178, 223, 138, 255}, color.RGBA{51, 160, 44, 255}, color.RGBA{251, 154, 153, 255}, color.RGBA{227, 26, 28, 255}}
	Paired_7  = []color.Color{color.RGBA{166, 206, 227, 255}, color.RGBA{31, 120, 180, 255}, color.RGBA{178, 223, 138, 255}, color.RGBA{51, 160, 44, 255}, color.RGBA{251, 154, 153, 255}, color.RGBA{227, 26, 28, 255}, color.RGBA{253, 191, 111, 255}}
	Paired_8  = []color.Color{color.RGBA{166, 206, 227, 255}, color.RGBA{31, 120, 180, 255}, color.RGBA{178, 223, 138, 255}, color.RGBA{51, 160, 44, 255}, color.RGBA{251, 154, 153, 255}, color.RGBA{227, 26, 28, 255}, color.RGBA{253, 191, 111, 255}, color.RGBA{255, 127, 0, 255}}
	Paired_9  = []color.Color{color.RGBA{166, 206, 227, 255}, color.RGBA{31, 120, 180, 255}, color.RGBA{178, 223, 138, 255}, color.RGBA{51, 160, 44, 255}, color.RGBA{251, 154, 153, 255}, color.RGBA{227, 26, 28, 255}, color.RGBA{253, 191, 111, 255}, color.RGBA{255, 127, 0, 255}, color.RGBA{202, 178, 214, 255}}
	Paired_10 = []color.Color{color.RGBA{166, 206, 227, 255}, color.RGBA{31, 120, 180, 255}, color.RGBA{178, 223, 138, 255}, color.RGBA{51, 160, 44, 255}, color.RGBA{251, 154, 153, 255}, color.RGBA{227, 26, 28, 255}, color.RGBA{253, 191, 111, 255}, color.RGBA{255, 127, 0, 255}, color.RGBA{202, 178, 214, 255}, color.RGBA{106, 61, 154, 255}}
	Paired_11 = []color.Color{color.RGBA{166, 206, 227, 255}, color.RGBA{31, 120, 180, 255}, color.RGBA{178, 223, 138, 255}, color.RGBA{51, 160, 44, 255}, color.RGBA{251, 154, 153, 255}, color.RGBA{227, 26, 28, 255}, color.RGBA{253, 191, 111, 255}, color.RGBA{255, 127, 0, 255}, color.RGBA{202, 178, 214, 255}, color.RGBA{106, 61, 154, 255}, color.RGBA{255, 255, 153, 255}}
	Paired_12 = []color.Color{color.RGBA{166, 206, 227, 255}, color.RGBA{31, 120, 180, 255}, color.RGBA{178, 223, 138, 255}, color.RGBA{51, 160, 44, 255}, color.RGBA{251, 154, 153, 255}, color.RGBA{227, 26, 28, 255}, color.RGBA{253, 191, 111, 255}, color.RGBA{255, 127, 0, 255}, color.RGBA{202, 178, 214, 255}, color.RGBA{106, 61, 154, 255}, color.RGBA{255, 255, 153, 255}, color.RGBA{177, 89, 40, 255}}
)
View Source
var (
	// Pastel1 is a qualitative palette.
	Pastel1   = map[int][]color.Color{3: Pastel1_3, 4: Pastel1_4, 5: Pastel1_5, 6: Pastel1_6, 7: Pastel1_7, 8: Pastel1_8, 9: Pastel1_9}
	Pastel1_3 = []color.Color{color.RGBA{251, 180, 174, 255}, color.RGBA{179, 205, 227, 255}, color.RGBA{204, 235, 197, 255}}
	Pastel1_4 = []color.Color{color.RGBA{251, 180, 174, 255}, color.RGBA{179, 205, 227, 255}, color.RGBA{204, 235, 197, 255}, color.RGBA{222, 203, 228, 255}}
	Pastel1_5 = []color.Color{color.RGBA{251, 180, 174, 255}, color.RGBA{179, 205, 227, 255}, color.RGBA{204, 235, 197, 255}, color.RGBA{222, 203, 228, 255}, color.RGBA{254, 217, 166, 255}}
	Pastel1_6 = []color.Color{color.RGBA{251, 180, 174, 255}, color.RGBA{179, 205, 227, 255}, color.RGBA{204, 235, 197, 255}, color.RGBA{222, 203, 228, 255}, color.RGBA{254, 217, 166, 255}, color.RGBA{255, 255, 204, 255}}
	Pastel1_7 = []color.Color{color.RGBA{251, 180, 174, 255}, color.RGBA{179, 205, 227, 255}, color.RGBA{204, 235, 197, 255}, color.RGBA{222, 203, 228, 255}, color.RGBA{254, 217, 166, 255}, color.RGBA{255, 255, 204, 255}, color.RGBA{229, 216, 189, 255}}
	Pastel1_8 = []color.Color{color.RGBA{251, 180, 174, 255}, color.RGBA{179, 205, 227, 255}, color.RGBA{204, 235, 197, 255}, color.RGBA{222, 203, 228, 255}, color.RGBA{254, 217, 166, 255}, color.RGBA{255, 255, 204, 255}, color.RGBA{229, 216, 189, 255}, color.RGBA{253, 218, 236, 255}}
	Pastel1_9 = []color.Color{color.RGBA{251, 180, 174, 255}, color.RGBA{179, 205, 227, 255}, color.RGBA{204, 235, 197, 255}, color.RGBA{222, 203, 228, 255}, color.RGBA{254, 217, 166, 255}, color.RGBA{255, 255, 204, 255}, color.RGBA{229, 216, 189, 255}, color.RGBA{253, 218, 236, 255}, color.RGBA{242, 242, 242, 255}}
)
View Source
var (
	// Pastel2 is a qualitative palette.
	Pastel2   = map[int][]color.Color{3: Pastel2_3, 4: Pastel2_4, 5: Pastel2_5, 6: Pastel2_6, 7: Pastel2_7, 8: Pastel2_8}
	Pastel2_3 = []color.Color{color.RGBA{179, 226, 205, 255}, color.RGBA{253, 205, 172, 255}, color.RGBA{203, 213, 232, 255}}
	Pastel2_4 = []color.Color{color.RGBA{179, 226, 205, 255}, color.RGBA{253, 205, 172, 255}, color.RGBA{203, 213, 232, 255}, color.RGBA{244, 202, 228, 255}}
	Pastel2_5 = []color.Color{color.RGBA{179, 226, 205, 255}, color.RGBA{253, 205, 172, 255}, color.RGBA{203, 213, 232, 255}, color.RGBA{244, 202, 228, 255}, color.RGBA{230, 245, 201, 255}}
	Pastel2_6 = []color.Color{color.RGBA{179, 226, 205, 255}, color.RGBA{253, 205, 172, 255}, color.RGBA{203, 213, 232, 255}, color.RGBA{244, 202, 228, 255}, color.RGBA{230, 245, 201, 255}, color.RGBA{255, 242, 174, 255}}
	Pastel2_7 = []color.Color{color.RGBA{179, 226, 205, 255}, color.RGBA{253, 205, 172, 255}, color.RGBA{203, 213, 232, 255}, color.RGBA{244, 202, 228, 255}, color.RGBA{230, 245, 201, 255}, color.RGBA{255, 242, 174, 255}, color.RGBA{241, 226, 204, 255}}
	Pastel2_8 = []color.Color{color.RGBA{179, 226, 205, 255}, color.RGBA{253, 205, 172, 255}, color.RGBA{203, 213, 232, 255}, color.RGBA{244, 202, 228, 255}, color.RGBA{230, 245, 201, 255}, color.RGBA{255, 242, 174, 255}, color.RGBA{241, 226, 204, 255}, color.RGBA{204, 204, 204, 255}}
)
View Source
var (
	// PiYG is a diverging palette.
	PiYG    = map[int][]color.Color{3: PiYG_3, 4: PiYG_4, 5: PiYG_5, 6: PiYG_6, 7: PiYG_7, 8: PiYG_8, 9: PiYG_9, 10: PiYG_10, 11: PiYG_11}
	PiYG_3  = []color.Color{color.RGBA{233, 163, 201, 255}, color.RGBA{247, 247, 247, 255}, color.RGBA{161, 215, 106, 255}}
	PiYG_4  = []color.Color{color.RGBA{208, 28, 139, 255}, color.RGBA{241, 182, 218, 255}, color.RGBA{184, 225, 134, 255}, color.RGBA{77, 172, 38, 255}}
	PiYG_5  = []color.Color{color.RGBA{208, 28, 139, 255}, color.RGBA{241, 182, 218, 255}, color.RGBA{247, 247, 247, 255}, color.RGBA{184, 225, 134, 255}, color.RGBA{77, 172, 38, 255}}
	PiYG_6  = []color.Color{color.RGBA{197, 27, 125, 255}, color.RGBA{233, 163, 201, 255}, color.RGBA{253, 224, 239, 255}, color.RGBA{230, 245, 208, 255}, color.RGBA{161, 215, 106, 255}, color.RGBA{77, 146, 33, 255}}
	PiYG_7  = []color.Color{color.RGBA{197, 27, 125, 255}, color.RGBA{233, 163, 201, 255}, color.RGBA{253, 224, 239, 255}, color.RGBA{247, 247, 247, 255}, color.RGBA{230, 245, 208, 255}, color.RGBA{161, 215, 106, 255}, color.RGBA{77, 146, 33, 255}}
	PiYG_8  = []color.Color{color.RGBA{197, 27, 125, 255}, color.RGBA{222, 119, 174, 255}, color.RGBA{241, 182, 218, 255}, color.RGBA{253, 224, 239, 255}, color.RGBA{230, 245, 208, 255}, color.RGBA{184, 225, 134, 255}, color.RGBA{127, 188, 65, 255}, color.RGBA{77, 146, 33, 255}}
	PiYG_9  = []color.Color{color.RGBA{197, 27, 125, 255}, color.RGBA{222, 119, 174, 255}, color.RGBA{241, 182, 218, 255}, color.RGBA{253, 224, 239, 255}, color.RGBA{247, 247, 247, 255}, color.RGBA{230, 245, 208, 255}, color.RGBA{184, 225, 134, 255}, color.RGBA{127, 188, 65, 255}, color.RGBA{77, 146, 33, 255}}
	PiYG_10 = []color.Color{color.RGBA{142, 1, 82, 255}, color.RGBA{197, 27, 125, 255}, color.RGBA{222, 119, 174, 255}, color.RGBA{241, 182, 218, 255}, color.RGBA{253, 224, 239, 255}, color.RGBA{230, 245, 208, 255}, color.RGBA{184, 225, 134, 255}, color.RGBA{127, 188, 65, 255}, color.RGBA{77, 146, 33, 255}, color.RGBA{39, 100, 25, 255}}
	PiYG_11 = []color.Color{color.RGBA{142, 1, 82, 255}, color.RGBA{197, 27, 125, 255}, color.RGBA{222, 119, 174, 255}, color.RGBA{241, 182, 218, 255}, color.RGBA{253, 224, 239, 255}, color.RGBA{247, 247, 247, 255}, color.RGBA{230, 245, 208, 255}, color.RGBA{184, 225, 134, 255}, color.RGBA{127, 188, 65, 255}, color.RGBA{77, 146, 33, 255}, color.RGBA{39, 100, 25, 255}}
)
View Source
var (
	// PuBu is a sequential palette.
	PuBu   = map[int][]color.Color{3: PuBu_3, 4: PuBu_4, 5: PuBu_5, 6: PuBu_6, 7: PuBu_7, 8: PuBu_8, 9: PuBu_9}
	PuBu_3 = []color.Color{color.RGBA{236, 231, 242, 255}, color.RGBA{166, 189, 219, 255}, color.RGBA{43, 140, 190, 255}}
	PuBu_4 = []color.Color{color.RGBA{241, 238, 246, 255}, color.RGBA{189, 201, 225, 255}, color.RGBA{116, 169, 207, 255}, color.RGBA{5, 112, 176, 255}}
	PuBu_5 = []color.Color{color.RGBA{241, 238, 246, 255}, color.RGBA{189, 201, 225, 255}, color.RGBA{116, 169, 207, 255}, color.RGBA{43, 140, 190, 255}, color.RGBA{4, 90, 141, 255}}
	PuBu_6 = []color.Color{color.RGBA{241, 238, 246, 255}, color.RGBA{208, 209, 230, 255}, color.RGBA{166, 189, 219, 255}, color.RGBA{116, 169, 207, 255}, color.RGBA{43, 140, 190, 255}, color.RGBA{4, 90, 141, 255}}
	PuBu_7 = []color.Color{color.RGBA{241, 238, 246, 255}, color.RGBA{208, 209, 230, 255}, color.RGBA{166, 189, 219, 255}, color.RGBA{116, 169, 207, 255}, color.RGBA{54, 144, 192, 255}, color.RGBA{5, 112, 176, 255}, color.RGBA{3, 78, 123, 255}}
	PuBu_8 = []color.Color{color.RGBA{255, 247, 251, 255}, color.RGBA{236, 231, 242, 255}, color.RGBA{208, 209, 230, 255}, color.RGBA{166, 189, 219, 255}, color.RGBA{116, 169, 207, 255}, color.RGBA{54, 144, 192, 255}, color.RGBA{5, 112, 176, 255}, color.RGBA{3, 78, 123, 255}}
	PuBu_9 = []color.Color{color.RGBA{255, 247, 251, 255}, color.RGBA{236, 231, 242, 255}, color.RGBA{208, 209, 230, 255}, color.RGBA{166, 189, 219, 255}, color.RGBA{116, 169, 207, 255}, color.RGBA{54, 144, 192, 255}, color.RGBA{5, 112, 176, 255}, color.RGBA{4, 90, 141, 255}, color.RGBA{2, 56, 88, 255}}
)
View Source
var (
	// PuBuGn is a sequential palette.
	PuBuGn   = map[int][]color.Color{3: PuBuGn_3, 4: PuBuGn_4, 5: PuBuGn_5, 6: PuBuGn_6, 7: PuBuGn_7, 8: PuBuGn_8, 9: PuBuGn_9}
	PuBuGn_3 = []color.Color{color.RGBA{236, 226, 240, 255}, color.RGBA{166, 189, 219, 255}, color.RGBA{28, 144, 153, 255}}
	PuBuGn_4 = []color.Color{color.RGBA{246, 239, 247, 255}, color.RGBA{189, 201, 225, 255}, color.RGBA{103, 169, 207, 255}, color.RGBA{2, 129, 138, 255}}
	PuBuGn_5 = []color.Color{color.RGBA{246, 239, 247, 255}, color.RGBA{189, 201, 225, 255}, color.RGBA{103, 169, 207, 255}, color.RGBA{28, 144, 153, 255}, color.RGBA{1, 108, 89, 255}}
	PuBuGn_6 = []color.Color{color.RGBA{246, 239, 247, 255}, color.RGBA{208, 209, 230, 255}, color.RGBA{166, 189, 219, 255}, color.RGBA{103, 169, 207, 255}, color.RGBA{28, 144, 153, 255}, color.RGBA{1, 108, 89, 255}}
	PuBuGn_7 = []color.Color{color.RGBA{246, 239, 247, 255}, color.RGBA{208, 209, 230, 255}, color.RGBA{166, 189, 219, 255}, color.RGBA{103, 169, 207, 255}, color.RGBA{54, 144, 192, 255}, color.RGBA{2, 129, 138, 255}, color.RGBA{1, 100, 80, 255}}
	PuBuGn_8 = []color.Color{color.RGBA{255, 247, 251, 255}, color.RGBA{236, 226, 240, 255}, color.RGBA{208, 209, 230, 255}, color.RGBA{166, 189, 219, 255}, color.RGBA{103, 169, 207, 255}, color.RGBA{54, 144, 192, 255}, color.RGBA{2, 129, 138, 255}, color.RGBA{1, 100, 80, 255}}
	PuBuGn_9 = []color.Color{color.RGBA{255, 247, 251, 255}, color.RGBA{236, 226, 240, 255}, color.RGBA{208, 209, 230, 255}, color.RGBA{166, 189, 219, 255}, color.RGBA{103, 169, 207, 255}, color.RGBA{54, 144, 192, 255}, color.RGBA{2, 129, 138, 255}, color.RGBA{1, 108, 89, 255}, color.RGBA{1, 70, 54, 255}}
)
View Source
var (
	// PuOr is a diverging palette.
	PuOr    = map[int][]color.Color{3: PuOr_3, 4: PuOr_4, 5: PuOr_5, 6: PuOr_6, 7: PuOr_7, 8: PuOr_8, 9: PuOr_9, 10: PuOr_10, 11: PuOr_11}
	PuOr_3  = []color.Color{color.RGBA{241, 163, 64, 255}, color.RGBA{247, 247, 247, 255}, color.RGBA{153, 142, 195, 255}}
	PuOr_4  = []color.Color{color.RGBA{230, 97, 1, 255}, color.RGBA{253, 184, 99, 255}, color.RGBA{178, 171, 210, 255}, color.RGBA{94, 60, 153, 255}}
	PuOr_5  = []color.Color{color.RGBA{230, 97, 1, 255}, color.RGBA{253, 184, 99, 255}, color.RGBA{247, 247, 247, 255}, color.RGBA{178, 171, 210, 255}, color.RGBA{94, 60, 153, 255}}
	PuOr_6  = []color.Color{color.RGBA{179, 88, 6, 255}, color.RGBA{241, 163, 64, 255}, color.RGBA{254, 224, 182, 255}, color.RGBA{216, 218, 235, 255}, color.RGBA{153, 142, 195, 255}, color.RGBA{84, 39, 136, 255}}
	PuOr_7  = []color.Color{color.RGBA{179, 88, 6, 255}, color.RGBA{241, 163, 64, 255}, color.RGBA{254, 224, 182, 255}, color.RGBA{247, 247, 247, 255}, color.RGBA{216, 218, 235, 255}, color.RGBA{153, 142, 195, 255}, color.RGBA{84, 39, 136, 255}}
	PuOr_8  = []color.Color{color.RGBA{179, 88, 6, 255}, color.RGBA{224, 130, 20, 255}, color.RGBA{253, 184, 99, 255}, color.RGBA{254, 224, 182, 255}, color.RGBA{216, 218, 235, 255}, color.RGBA{178, 171, 210, 255}, color.RGBA{128, 115, 172, 255}, color.RGBA{84, 39, 136, 255}}
	PuOr_9  = []color.Color{color.RGBA{179, 88, 6, 255}, color.RGBA{224, 130, 20, 255}, color.RGBA{253, 184, 99, 255}, color.RGBA{254, 224, 182, 255}, color.RGBA{247, 247, 247, 255}, color.RGBA{216, 218, 235, 255}, color.RGBA{178, 171, 210, 255}, color.RGBA{128, 115, 172, 255}, color.RGBA{84, 39, 136, 255}}
	PuOr_10 = []color.Color{color.RGBA{127, 59, 8, 255}, color.RGBA{179, 88, 6, 255}, color.RGBA{224, 130, 20, 255}, color.RGBA{253, 184, 99, 255}, color.RGBA{254, 224, 182, 255}, color.RGBA{216, 218, 235, 255}, color.RGBA{178, 171, 210, 255}, color.RGBA{128, 115, 172, 255}, color.RGBA{84, 39, 136, 255}, color.RGBA{45, 0, 75, 255}}
	PuOr_11 = []color.Color{color.RGBA{127, 59, 8, 255}, color.RGBA{179, 88, 6, 255}, color.RGBA{224, 130, 20, 255}, color.RGBA{253, 184, 99, 255}, color.RGBA{254, 224, 182, 255}, color.RGBA{247, 247, 247, 255}, color.RGBA{216, 218, 235, 255}, color.RGBA{178, 171, 210, 255}, color.RGBA{128, 115, 172, 255}, color.RGBA{84, 39, 136, 255}, color.RGBA{45, 0, 75, 255}}
)
View Source
var (
	// PuRd is a sequential palette.
	PuRd   = map[int][]color.Color{3: PuRd_3, 4: PuRd_4, 5: PuRd_5, 6: PuRd_6, 7: PuRd_7, 8: PuRd_8, 9: PuRd_9}
	PuRd_3 = []color.Color{color.RGBA{231, 225, 239, 255}, color.RGBA{201, 148, 199, 255}, color.RGBA{221, 28, 119, 255}}
	PuRd_4 = []color.Color{color.RGBA{241, 238, 246, 255}, color.RGBA{215, 181, 216, 255}, color.RGBA{223, 101, 176, 255}, color.RGBA{206, 18, 86, 255}}
	PuRd_5 = []color.Color{color.RGBA{241, 238, 246, 255}, color.RGBA{215, 181, 216, 255}, color.RGBA{223, 101, 176, 255}, color.RGBA{221, 28, 119, 255}, color.RGBA{152, 0, 67, 255}}
	PuRd_6 = []color.Color{color.RGBA{241, 238, 246, 255}, color.RGBA{212, 185, 218, 255}, color.RGBA{201, 148, 199, 255}, color.RGBA{223, 101, 176, 255}, color.RGBA{221, 28, 119, 255}, color.RGBA{152, 0, 67, 255}}
	PuRd_7 = []color.Color{color.RGBA{241, 238, 246, 255}, color.RGBA{212, 185, 218, 255}, color.RGBA{201, 148, 199, 255}, color.RGBA{223, 101, 176, 255}, color.RGBA{231, 41, 138, 255}, color.RGBA{206, 18, 86, 255}, color.RGBA{145, 0, 63, 255}}
	PuRd_8 = []color.Color{color.RGBA{247, 244, 249, 255}, color.RGBA{231, 225, 239, 255}, color.RGBA{212, 185, 218, 255}, color.RGBA{201, 148, 199, 255}, color.RGBA{223, 101, 176, 255}, color.RGBA{231, 41, 138, 255}, color.RGBA{206, 18, 86, 255}, color.RGBA{145, 0, 63, 255}}
	PuRd_9 = []color.Color{color.RGBA{247, 244, 249, 255}, color.RGBA{231, 225, 239, 255}, color.RGBA{212, 185, 218, 255}, color.RGBA{201, 148, 199, 255}, color.RGBA{223, 101, 176, 255}, color.RGBA{231, 41, 138, 255}, color.RGBA{206, 18, 86, 255}, color.RGBA{152, 0, 67, 255}, color.RGBA{103, 0, 31, 255}}
)
View Source
var (
	// Purples is a sequential palette.
	Purples   = map[int][]color.Color{3: Purples_3, 4: Purples_4, 5: Purples_5, 6: Purples_6, 7: Purples_7, 8: Purples_8, 9: Purples_9}
	Purples_3 = []color.Color{color.RGBA{239, 237, 245, 255}, color.RGBA{188, 189, 220, 255}, color.RGBA{117, 107, 177, 255}}
	Purples_4 = []color.Color{color.RGBA{242, 240, 247, 255}, color.RGBA{203, 201, 226, 255}, color.RGBA{158, 154, 200, 255}, color.RGBA{106, 81, 163, 255}}
	Purples_5 = []color.Color{color.RGBA{242, 240, 247, 255}, color.RGBA{203, 201, 226, 255}, color.RGBA{158, 154, 200, 255}, color.RGBA{117, 107, 177, 255}, color.RGBA{84, 39, 143, 255}}
	Purples_6 = []color.Color{color.RGBA{242, 240, 247, 255}, color.RGBA{218, 218, 235, 255}, color.RGBA{188, 189, 220, 255}, color.RGBA{158, 154, 200, 255}, color.RGBA{117, 107, 177, 255}, color.RGBA{84, 39, 143, 255}}
	Purples_7 = []color.Color{color.RGBA{242, 240, 247, 255}, color.RGBA{218, 218, 235, 255}, color.RGBA{188, 189, 220, 255}, color.RGBA{158, 154, 200, 255}, color.RGBA{128, 125, 186, 255}, color.RGBA{106, 81, 163, 255}, color.RGBA{74, 20, 134, 255}}
	Purples_8 = []color.Color{color.RGBA{252, 251, 253, 255}, color.RGBA{239, 237, 245, 255}, color.RGBA{218, 218, 235, 255}, color.RGBA{188, 189, 220, 255}, color.RGBA{158, 154, 200, 255}, color.RGBA{128, 125, 186, 255}, color.RGBA{106, 81, 163, 255}, color.RGBA{74, 20, 134, 255}}
	Purples_9 = []color.Color{color.RGBA{252, 251, 253, 255}, color.RGBA{239, 237, 245, 255}, color.RGBA{218, 218, 235, 255}, color.RGBA{188, 189, 220, 255}, color.RGBA{158, 154, 200, 255}, color.RGBA{128, 125, 186, 255}, color.RGBA{106, 81, 163, 255}, color.RGBA{84, 39, 143, 255}, color.RGBA{63, 0, 125, 255}}
)
View Source
var (
	// RdBu is a diverging palette.
	RdBu    = map[int][]color.Color{3: RdBu_3, 4: RdBu_4, 5: RdBu_5, 6: RdBu_6, 7: RdBu_7, 8: RdBu_8, 9: RdBu_9, 10: RdBu_10, 11: RdBu_11}
	RdBu_3  = []color.Color{color.RGBA{239, 138, 98, 255}, color.RGBA{247, 247, 247, 255}, color.RGBA{103, 169, 207, 255}}
	RdBu_4  = []color.Color{color.RGBA{202, 0, 32, 255}, color.RGBA{244, 165, 130, 255}, color.RGBA{146, 197, 222, 255}, color.RGBA{5, 113, 176, 255}}
	RdBu_5  = []color.Color{color.RGBA{202, 0, 32, 255}, color.RGBA{244, 165, 130, 255}, color.RGBA{247, 247, 247, 255}, color.RGBA{146, 197, 222, 255}, color.RGBA{5, 113, 176, 255}}
	RdBu_6  = []color.Color{color.RGBA{178, 24, 43, 255}, color.RGBA{239, 138, 98, 255}, color.RGBA{253, 219, 199, 255}, color.RGBA{209, 229, 240, 255}, color.RGBA{103, 169, 207, 255}, color.RGBA{33, 102, 172, 255}}
	RdBu_7  = []color.Color{color.RGBA{178, 24, 43, 255}, color.RGBA{239, 138, 98, 255}, color.RGBA{253, 219, 199, 255}, color.RGBA{247, 247, 247, 255}, color.RGBA{209, 229, 240, 255}, color.RGBA{103, 169, 207, 255}, color.RGBA{33, 102, 172, 255}}
	RdBu_8  = []color.Color{color.RGBA{178, 24, 43, 255}, color.RGBA{214, 96, 77, 255}, color.RGBA{244, 165, 130, 255}, color.RGBA{253, 219, 199, 255}, color.RGBA{209, 229, 240, 255}, color.RGBA{146, 197, 222, 255}, color.RGBA{67, 147, 195, 255}, color.RGBA{33, 102, 172, 255}}
	RdBu_9  = []color.Color{color.RGBA{178, 24, 43, 255}, color.RGBA{214, 96, 77, 255}, color.RGBA{244, 165, 130, 255}, color.RGBA{253, 219, 199, 255}, color.RGBA{247, 247, 247, 255}, color.RGBA{209, 229, 240, 255}, color.RGBA{146, 197, 222, 255}, color.RGBA{67, 147, 195, 255}, color.RGBA{33, 102, 172, 255}}
	RdBu_10 = []color.Color{color.RGBA{103, 0, 31, 255}, color.RGBA{178, 24, 43, 255}, color.RGBA{214, 96, 77, 255}, color.RGBA{244, 165, 130, 255}, color.RGBA{253, 219, 199, 255}, color.RGBA{209, 229, 240, 255}, color.RGBA{146, 197, 222, 255}, color.RGBA{67, 147, 195, 255}, color.RGBA{33, 102, 172, 255}, color.RGBA{5, 48, 97, 255}}
	RdBu_11 = []color.Color{color.RGBA{103, 0, 31, 255}, color.RGBA{178, 24, 43, 255}, color.RGBA{214, 96, 77, 255}, color.RGBA{244, 165, 130, 255}, color.RGBA{253, 219, 199, 255}, color.RGBA{247, 247, 247, 255}, color.RGBA{209, 229, 240, 255}, color.RGBA{146, 197, 222, 255}, color.RGBA{67, 147, 195, 255}, color.RGBA{33, 102, 172, 255}, color.RGBA{5, 48, 97, 255}}
)
View Source
var (
	// RdGy is a diverging palette.
	RdGy    = map[int][]color.Color{3: RdGy_3, 4: RdGy_4, 5: RdGy_5, 6: RdGy_6, 7: RdGy_7, 8: RdGy_8, 9: RdGy_9, 10: RdGy_10, 11: RdGy_11}
	RdGy_3  = []color.Color{color.RGBA{239, 138, 98, 255}, color.RGBA{255, 255, 255, 255}, color.RGBA{153, 153, 153, 255}}
	RdGy_4  = []color.Color{color.RGBA{202, 0, 32, 255}, color.RGBA{244, 165, 130, 255}, color.RGBA{186, 186, 186, 255}, color.RGBA{64, 64, 64, 255}}
	RdGy_5  = []color.Color{color.RGBA{202, 0, 32, 255}, color.RGBA{244, 165, 130, 255}, color.RGBA{255, 255, 255, 255}, color.RGBA{186, 186, 186, 255}, color.RGBA{64, 64, 64, 255}}
	RdGy_6  = []color.Color{color.RGBA{178, 24, 43, 255}, color.RGBA{239, 138, 98, 255}, color.RGBA{253, 219, 199, 255}, color.RGBA{224, 224, 224, 255}, color.RGBA{153, 153, 153, 255}, color.RGBA{77, 77, 77, 255}}
	RdGy_7  = []color.Color{color.RGBA{178, 24, 43, 255}, color.RGBA{239, 138, 98, 255}, color.RGBA{253, 219, 199, 255}, color.RGBA{255, 255, 255, 255}, color.RGBA{224, 224, 224, 255}, color.RGBA{153, 153, 153, 255}, color.RGBA{77, 77, 77, 255}}
	RdGy_8  = []color.Color{color.RGBA{178, 24, 43, 255}, color.RGBA{214, 96, 77, 255}, color.RGBA{244, 165, 130, 255}, color.RGBA{253, 219, 199, 255}, color.RGBA{224, 224, 224, 255}, color.RGBA{186, 186, 186, 255}, color.RGBA{135, 135, 135, 255}, color.RGBA{77, 77, 77, 255}}
	RdGy_9  = []color.Color{color.RGBA{178, 24, 43, 255}, color.RGBA{214, 96, 77, 255}, color.RGBA{244, 165, 130, 255}, color.RGBA{253, 219, 199, 255}, color.RGBA{255, 255, 255, 255}, color.RGBA{224, 224, 224, 255}, color.RGBA{186, 186, 186, 255}, color.RGBA{135, 135, 135, 255}, color.RGBA{77, 77, 77, 255}}
	RdGy_10 = []color.Color{color.RGBA{103, 0, 31, 255}, color.RGBA{178, 24, 43, 255}, color.RGBA{214, 96, 77, 255}, color.RGBA{244, 165, 130, 255}, color.RGBA{253, 219, 199, 255}, color.RGBA{224, 224, 224, 255}, color.RGBA{186, 186, 186, 255}, color.RGBA{135, 135, 135, 255}, color.RGBA{77, 77, 77, 255}, color.RGBA{26, 26, 26, 255}}
	RdGy_11 = []color.Color{color.RGBA{103, 0, 31, 255}, color.RGBA{178, 24, 43, 255}, color.RGBA{214, 96, 77, 255}, color.RGBA{244, 165, 130, 255}, color.RGBA{253, 219, 199, 255}, color.RGBA{255, 255, 255, 255}, color.RGBA{224, 224, 224, 255}, color.RGBA{186, 186, 186, 255}, color.RGBA{135, 135, 135, 255}, color.RGBA{77, 77, 77, 255}, color.RGBA{26, 26, 26, 255}}
)
View Source
var (
	// RdPu is a sequential palette.
	RdPu   = map[int][]color.Color{3: RdPu_3, 4: RdPu_4, 5: RdPu_5, 6: RdPu_6, 7: RdPu_7, 8: RdPu_8, 9: RdPu_9}
	RdPu_3 = []color.Color{color.RGBA{253, 224, 221, 255}, color.RGBA{250, 159, 181, 255}, color.RGBA{197, 27, 138, 255}}
	RdPu_4 = []color.Color{color.RGBA{254, 235, 226, 255}, color.RGBA{251, 180, 185, 255}, color.RGBA{247, 104, 161, 255}, color.RGBA{174, 1, 126, 255}}
	RdPu_5 = []color.Color{color.RGBA{254, 235, 226, 255}, color.RGBA{251, 180, 185, 255}, color.RGBA{247, 104, 161, 255}, color.RGBA{197, 27, 138, 255}, color.RGBA{122, 1, 119, 255}}
	RdPu_6 = []color.Color{color.RGBA{254, 235, 226, 255}, color.RGBA{252, 197, 192, 255}, color.RGBA{250, 159, 181, 255}, color.RGBA{247, 104, 161, 255}, color.RGBA{197, 27, 138, 255}, color.RGBA{122, 1, 119, 255}}
	RdPu_7 = []color.Color{color.RGBA{254, 235, 226, 255}, color.RGBA{252, 197, 192, 255}, color.RGBA{250, 159, 181, 255}, color.RGBA{247, 104, 161, 255}, color.RGBA{221, 52, 151, 255}, color.RGBA{174, 1, 126, 255}, color.RGBA{122, 1, 119, 255}}
	RdPu_8 = []color.Color{color.RGBA{255, 247, 243, 255}, color.RGBA{253, 224, 221, 255}, color.RGBA{252, 197, 192, 255}, color.RGBA{250, 159, 181, 255}, color.RGBA{247, 104, 161, 255}, color.RGBA{221, 52, 151, 255}, color.RGBA{174, 1, 126, 255}, color.RGBA{122, 1, 119, 255}}
	RdPu_9 = []color.Color{color.RGBA{255, 247, 243, 255}, color.RGBA{253, 224, 221, 255}, color.RGBA{252, 197, 192, 255}, color.RGBA{250, 159, 181, 255}, color.RGBA{247, 104, 161, 255}, color.RGBA{221, 52, 151, 255}, color.RGBA{174, 1, 126, 255}, color.RGBA{122, 1, 119, 255}, color.RGBA{73, 0, 106, 255}}
)
View Source
var (
	// RdYlBu is a diverging palette.
	RdYlBu    = map[int][]color.Color{3: RdYlBu_3, 4: RdYlBu_4, 5: RdYlBu_5, 6: RdYlBu_6, 7: RdYlBu_7, 8: RdYlBu_8, 9: RdYlBu_9, 10: RdYlBu_10, 11: RdYlBu_11}
	RdYlBu_3  = []color.Color{color.RGBA{252, 141, 89, 255}, color.RGBA{255, 255, 191, 255}, color.RGBA{145, 191, 219, 255}}
	RdYlBu_4  = []color.Color{color.RGBA{215, 25, 28, 255}, color.RGBA{253, 174, 97, 255}, color.RGBA{171, 217, 233, 255}, color.RGBA{44, 123, 182, 255}}
	RdYlBu_5  = []color.Color{color.RGBA{215, 25, 28, 255}, color.RGBA{253, 174, 97, 255}, color.RGBA{255, 255, 191, 255}, color.RGBA{171, 217, 233, 255}, color.RGBA{44, 123, 182, 255}}
	RdYlBu_6  = []color.Color{color.RGBA{215, 48, 39, 255}, color.RGBA{252, 141, 89, 255}, color.RGBA{254, 224, 144, 255}, color.RGBA{224, 243, 248, 255}, color.RGBA{145, 191, 219, 255}, color.RGBA{69, 117, 180, 255}}
	RdYlBu_7  = []color.Color{color.RGBA{215, 48, 39, 255}, color.RGBA{252, 141, 89, 255}, color.RGBA{254, 224, 144, 255}, color.RGBA{255, 255, 191, 255}, color.RGBA{224, 243, 248, 255}, color.RGBA{145, 191, 219, 255}, color.RGBA{69, 117, 180, 255}}
	RdYlBu_8  = []color.Color{color.RGBA{215, 48, 39, 255}, color.RGBA{244, 109, 67, 255}, color.RGBA{253, 174, 97, 255}, color.RGBA{254, 224, 144, 255}, color.RGBA{224, 243, 248, 255}, color.RGBA{171, 217, 233, 255}, color.RGBA{116, 173, 209, 255}, color.RGBA{69, 117, 180, 255}}
	RdYlBu_9  = []color.Color{color.RGBA{215, 48, 39, 255}, color.RGBA{244, 109, 67, 255}, color.RGBA{253, 174, 97, 255}, color.RGBA{254, 224, 144, 255}, color.RGBA{255, 255, 191, 255}, color.RGBA{224, 243, 248, 255}, color.RGBA{171, 217, 233, 255}, color.RGBA{116, 173, 209, 255}, color.RGBA{69, 117, 180, 255}}
	RdYlBu_10 = []color.Color{color.RGBA{165, 0, 38, 255}, color.RGBA{215, 48, 39, 255}, color.RGBA{244, 109, 67, 255}, color.RGBA{253, 174, 97, 255}, color.RGBA{254, 224, 144, 255}, color.RGBA{224, 243, 248, 255}, color.RGBA{171, 217, 233, 255}, color.RGBA{116, 173, 209, 255}, color.RGBA{69, 117, 180, 255}, color.RGBA{49, 54, 149, 255}}
	RdYlBu_11 = []color.Color{color.RGBA{165, 0, 38, 255}, color.RGBA{215, 48, 39, 255}, color.RGBA{244, 109, 67, 255}, color.RGBA{253, 174, 97, 255}, color.RGBA{254, 224, 144, 255}, color.RGBA{255, 255, 191, 255}, color.RGBA{224, 243, 248, 255}, color.RGBA{171, 217, 233, 255}, color.RGBA{116, 173, 209, 255}, color.RGBA{69, 117, 180, 255}, color.RGBA{49, 54, 149, 255}}
)
View Source
var (
	// RdYlGn is a diverging palette.
	RdYlGn    = map[int][]color.Color{3: RdYlGn_3, 4: RdYlGn_4, 5: RdYlGn_5, 6: RdYlGn_6, 7: RdYlGn_7, 8: RdYlGn_8, 9: RdYlGn_9, 10: RdYlGn_10, 11: RdYlGn_11}
	RdYlGn_3  = []color.Color{color.RGBA{252, 141, 89, 255}, color.RGBA{255, 255, 191, 255}, color.RGBA{145, 207, 96, 255}}
	RdYlGn_4  = []color.Color{color.RGBA{215, 25, 28, 255}, color.RGBA{253, 174, 97, 255}, color.RGBA{166, 217, 106, 255}, color.RGBA{26, 150, 65, 255}}
	RdYlGn_5  = []color.Color{color.RGBA{215, 25, 28, 255}, color.RGBA{253, 174, 97, 255}, color.RGBA{255, 255, 191, 255}, color.RGBA{166, 217, 106, 255}, color.RGBA{26, 150, 65, 255}}
	RdYlGn_6  = []color.Color{color.RGBA{215, 48, 39, 255}, color.RGBA{252, 141, 89, 255}, color.RGBA{254, 224, 139, 255}, color.RGBA{217, 239, 139, 255}, color.RGBA{145, 207, 96, 255}, color.RGBA{26, 152, 80, 255}}
	RdYlGn_7  = []color.Color{color.RGBA{215, 48, 39, 255}, color.RGBA{252, 141, 89, 255}, color.RGBA{254, 224, 139, 255}, color.RGBA{255, 255, 191, 255}, color.RGBA{217, 239, 139, 255}, color.RGBA{145, 207, 96, 255}, color.RGBA{26, 152, 80, 255}}
	RdYlGn_8  = []color.Color{color.RGBA{215, 48, 39, 255}, color.RGBA{244, 109, 67, 255}, color.RGBA{253, 174, 97, 255}, color.RGBA{254, 224, 139, 255}, color.RGBA{217, 239, 139, 255}, color.RGBA{166, 217, 106, 255}, color.RGBA{102, 189, 99, 255}, color.RGBA{26, 152, 80, 255}}
	RdYlGn_9  = []color.Color{color.RGBA{215, 48, 39, 255}, color.RGBA{244, 109, 67, 255}, color.RGBA{253, 174, 97, 255}, color.RGBA{254, 224, 139, 255}, color.RGBA{255, 255, 191, 255}, color.RGBA{217, 239, 139, 255}, color.RGBA{166, 217, 106, 255}, color.RGBA{102, 189, 99, 255}, color.RGBA{26, 152, 80, 255}}
	RdYlGn_10 = []color.Color{color.RGBA{165, 0, 38, 255}, color.RGBA{215, 48, 39, 255}, color.RGBA{244, 109, 67, 255}, color.RGBA{253, 174, 97, 255}, color.RGBA{254, 224, 139, 255}, color.RGBA{217, 239, 139, 255}, color.RGBA{166, 217, 106, 255}, color.RGBA{102, 189, 99, 255}, color.RGBA{26, 152, 80, 255}, color.RGBA{0, 104, 55, 255}}
	RdYlGn_11 = []color.Color{color.RGBA{165, 0, 38, 255}, color.RGBA{215, 48, 39, 255}, color.RGBA{244, 109, 67, 255}, color.RGBA{253, 174, 97, 255}, color.RGBA{254, 224, 139, 255}, color.RGBA{255, 255, 191, 255}, color.RGBA{217, 239, 139, 255}, color.RGBA{166, 217, 106, 255}, color.RGBA{102, 189, 99, 255}, color.RGBA{26, 152, 80, 255}, color.RGBA{0, 104, 55, 255}}
)
View Source
var (
	// Reds is a sequential palette.
	Reds   = map[int][]color.Color{3: Reds_3, 4: Reds_4, 5: Reds_5, 6: Reds_6, 7: Reds_7, 8: Reds_8, 9: Reds_9}
	Reds_3 = []color.Color{color.RGBA{254, 224, 210, 255}, color.RGBA{252, 146, 114, 255}, color.RGBA{222, 45, 38, 255}}
	Reds_4 = []color.Color{color.RGBA{254, 229, 217, 255}, color.RGBA{252, 174, 145, 255}, color.RGBA{251, 106, 74, 255}, color.RGBA{203, 24, 29, 255}}
	Reds_5 = []color.Color{color.RGBA{254, 229, 217, 255}, color.RGBA{252, 174, 145, 255}, color.RGBA{251, 106, 74, 255}, color.RGBA{222, 45, 38, 255}, color.RGBA{165, 15, 21, 255}}
	Reds_6 = []color.Color{color.RGBA{254, 229, 217, 255}, color.RGBA{252, 187, 161, 255}, color.RGBA{252, 146, 114, 255}, color.RGBA{251, 106, 74, 255}, color.RGBA{222, 45, 38, 255}, color.RGBA{165, 15, 21, 255}}
	Reds_7 = []color.Color{color.RGBA{254, 229, 217, 255}, color.RGBA{252, 187, 161, 255}, color.RGBA{252, 146, 114, 255}, color.RGBA{251, 106, 74, 255}, color.RGBA{239, 59, 44, 255}, color.RGBA{203, 24, 29, 255}, color.RGBA{153, 0, 13, 255}}
	Reds_8 = []color.Color{color.RGBA{255, 245, 240, 255}, color.RGBA{254, 224, 210, 255}, color.RGBA{252, 187, 161, 255}, color.RGBA{252, 146, 114, 255}, color.RGBA{251, 106, 74, 255}, color.RGBA{239, 59, 44, 255}, color.RGBA{203, 24, 29, 255}, color.RGBA{153, 0, 13, 255}}
	Reds_9 = []color.Color{color.RGBA{255, 245, 240, 255}, color.RGBA{254, 224, 210, 255}, color.RGBA{252, 187, 161, 255}, color.RGBA{252, 146, 114, 255}, color.RGBA{251, 106, 74, 255}, color.RGBA{239, 59, 44, 255}, color.RGBA{203, 24, 29, 255}, color.RGBA{165, 15, 21, 255}, color.RGBA{103, 0, 13, 255}}
)
View Source
var (
	// Set1 is a qualitative palette.
	Set1   = map[int][]color.Color{3: Set1_3, 4: Set1_4, 5: Set1_5, 6: Set1_6, 7: Set1_7, 8: Set1_8, 9: Set1_9}
	Set1_3 = []color.Color{color.RGBA{228, 26, 28, 255}, color.RGBA{55, 126, 184, 255}, color.RGBA{77, 175, 74, 255}}
	Set1_4 = []color.Color{color.RGBA{228, 26, 28, 255}, color.RGBA{55, 126, 184, 255}, color.RGBA{77, 175, 74, 255}, color.RGBA{152, 78, 163, 255}}
	Set1_5 = []color.Color{color.RGBA{228, 26, 28, 255}, color.RGBA{55, 126, 184, 255}, color.RGBA{77, 175, 74, 255}, color.RGBA{152, 78, 163, 255}, color.RGBA{255, 127, 0, 255}}
	Set1_6 = []color.Color{color.RGBA{228, 26, 28, 255}, color.RGBA{55, 126, 184, 255}, color.RGBA{77, 175, 74, 255}, color.RGBA{152, 78, 163, 255}, color.RGBA{255, 127, 0, 255}, color.RGBA{255, 255, 51, 255}}
	Set1_7 = []color.Color{color.RGBA{228, 26, 28, 255}, color.RGBA{55, 126, 184, 255}, color.RGBA{77, 175, 74, 255}, color.RGBA{152, 78, 163, 255}, color.RGBA{255, 127, 0, 255}, color.RGBA{255, 255, 51, 255}, color.RGBA{166, 86, 40, 255}}
	Set1_8 = []color.Color{color.RGBA{228, 26, 28, 255}, color.RGBA{55, 126, 184, 255}, color.RGBA{77, 175, 74, 255}, color.RGBA{152, 78, 163, 255}, color.RGBA{255, 127, 0, 255}, color.RGBA{255, 255, 51, 255}, color.RGBA{166, 86, 40, 255}, color.RGBA{247, 129, 191, 255}}
	Set1_9 = []color.Color{color.RGBA{228, 26, 28, 255}, color.RGBA{55, 126, 184, 255}, color.RGBA{77, 175, 74, 255}, color.RGBA{152, 78, 163, 255}, color.RGBA{255, 127, 0, 255}, color.RGBA{255, 255, 51, 255}, color.RGBA{166, 86, 40, 255}, color.RGBA{247, 129, 191, 255}, color.RGBA{153, 153, 153, 255}}
)
View Source
var (
	// Set2 is a qualitative palette.
	Set2   = map[int][]color.Color{3: Set2_3, 4: Set2_4, 5: Set2_5, 6: Set2_6, 7: Set2_7, 8: Set2_8}
	Set2_3 = []color.Color{color.RGBA{102, 194, 165, 255}, color.RGBA{252, 141, 98, 255}, color.RGBA{141, 160, 203, 255}}
	Set2_4 = []color.Color{color.RGBA{102, 194, 165, 255}, color.RGBA{252, 141, 98, 255}, color.RGBA{141, 160, 203, 255}, color.RGBA{231, 138, 195, 255}}
	Set2_5 = []color.Color{color.RGBA{102, 194, 165, 255}, color.RGBA{252, 141, 98, 255}, color.RGBA{141, 160, 203, 255}, color.RGBA{231, 138, 195, 255}, color.RGBA{166, 216, 84, 255}}
	Set2_6 = []color.Color{color.RGBA{102, 194, 165, 255}, color.RGBA{252, 141, 98, 255}, color.RGBA{141, 160, 203, 255}, color.RGBA{231, 138, 195, 255}, color.RGBA{166, 216, 84, 255}, color.RGBA{255, 217, 47, 255}}
	Set2_7 = []color.Color{color.RGBA{102, 194, 165, 255}, color.RGBA{252, 141, 98, 255}, color.RGBA{141, 160, 203, 255}, color.RGBA{231, 138, 195, 255}, color.RGBA{166, 216, 84, 255}, color.RGBA{255, 217, 47, 255}, color.RGBA{229, 196, 148, 255}}
	Set2_8 = []color.Color{color.RGBA{102, 194, 165, 255}, color.RGBA{252, 141, 98, 255}, color.RGBA{141, 160, 203, 255}, color.RGBA{231, 138, 195, 255}, color.RGBA{166, 216, 84, 255}, color.RGBA{255, 217, 47, 255}, color.RGBA{229, 196, 148, 255}, color.RGBA{179, 179, 179, 255}}
)
View Source
var (
	// Set3 is a qualitative palette.
	Set3    = map[int][]color.Color{3: Set3_3, 4: Set3_4, 5: Set3_5, 6: Set3_6, 7: Set3_7, 8: Set3_8, 9: Set3_9, 10: Set3_10, 11: Set3_11, 12: Set3_12}
	Set3_3  = []color.Color{color.RGBA{141, 211, 199, 255}, color.RGBA{255, 255, 179, 255}, color.RGBA{190, 186, 218, 255}}
	Set3_4  = []color.Color{color.RGBA{141, 211, 199, 255}, color.RGBA{255, 255, 179, 255}, color.RGBA{190, 186, 218, 255}, color.RGBA{251, 128, 114, 255}}
	Set3_5  = []color.Color{color.RGBA{141, 211, 199, 255}, color.RGBA{255, 255, 179, 255}, color.RGBA{190, 186, 218, 255}, color.RGBA{251, 128, 114, 255}, color.RGBA{128, 177, 211, 255}}
	Set3_6  = []color.Color{color.RGBA{141, 211, 199, 255}, color.RGBA{255, 255, 179, 255}, color.RGBA{190, 186, 218, 255}, color.RGBA{251, 128, 114, 255}, color.RGBA{128, 177, 211, 255}, color.RGBA{253, 180, 98, 255}}
	Set3_7  = []color.Color{color.RGBA{141, 211, 199, 255}, color.RGBA{255, 255, 179, 255}, color.RGBA{190, 186, 218, 255}, color.RGBA{251, 128, 114, 255}, color.RGBA{128, 177, 211, 255}, color.RGBA{253, 180, 98, 255}, color.RGBA{179, 222, 105, 255}}
	Set3_8  = []color.Color{color.RGBA{141, 211, 199, 255}, color.RGBA{255, 255, 179, 255}, color.RGBA{190, 186, 218, 255}, color.RGBA{251, 128, 114, 255}, color.RGBA{128, 177, 211, 255}, color.RGBA{253, 180, 98, 255}, color.RGBA{179, 222, 105, 255}, color.RGBA{252, 205, 229, 255}}
	Set3_9  = []color.Color{color.RGBA{141, 211, 199, 255}, color.RGBA{255, 255, 179, 255}, color.RGBA{190, 186, 218, 255}, color.RGBA{251, 128, 114, 255}, color.RGBA{128, 177, 211, 255}, color.RGBA{253, 180, 98, 255}, color.RGBA{179, 222, 105, 255}, color.RGBA{252, 205, 229, 255}, color.RGBA{217, 217, 217, 255}}
	Set3_10 = []color.Color{color.RGBA{141, 211, 199, 255}, color.RGBA{255, 255, 179, 255}, color.RGBA{190, 186, 218, 255}, color.RGBA{251, 128, 114, 255}, color.RGBA{128, 177, 211, 255}, color.RGBA{253, 180, 98, 255}, color.RGBA{179, 222, 105, 255}, color.RGBA{252, 205, 229, 255}, color.RGBA{217, 217, 217, 255}, color.RGBA{188, 128, 189, 255}}
	Set3_11 = []color.Color{color.RGBA{141, 211, 199, 255}, color.RGBA{255, 255, 179, 255}, color.RGBA{190, 186, 218, 255}, color.RGBA{251, 128, 114, 255}, color.RGBA{128, 177, 211, 255}, color.RGBA{253, 180, 98, 255}, color.RGBA{179, 222, 105, 255}, color.RGBA{252, 205, 229, 255}, color.RGBA{217, 217, 217, 255}, color.RGBA{188, 128, 189, 255}, color.RGBA{204, 235, 197, 255}}
	Set3_12 = []color.Color{color.RGBA{141, 211, 199, 255}, color.RGBA{255, 255, 179, 255}, color.RGBA{190, 186, 218, 255}, color.RGBA{251, 128, 114, 255}, color.RGBA{128, 177, 211, 255}, color.RGBA{253, 180, 98, 255}, color.RGBA{179, 222, 105, 255}, color.RGBA{252, 205, 229, 255}, color.RGBA{217, 217, 217, 255}, color.RGBA{188, 128, 189, 255}, color.RGBA{204, 235, 197, 255}, color.RGBA{255, 237, 111, 255}}
)
View Source
var (
	// Spectral is a diverging palette.
	Spectral    = map[int][]color.Color{3: Spectral_3, 4: Spectral_4, 5: Spectral_5, 6: Spectral_6, 7: Spectral_7, 8: Spectral_8, 9: Spectral_9, 10: Spectral_10, 11: Spectral_11}
	Spectral_3  = []color.Color{color.RGBA{252, 141, 89, 255}, color.RGBA{255, 255, 191, 255}, color.RGBA{153, 213, 148, 255}}
	Spectral_4  = []color.Color{color.RGBA{215, 25, 28, 255}, color.RGBA{253, 174, 97, 255}, color.RGBA{171, 221, 164, 255}, color.RGBA{43, 131, 186, 255}}
	Spectral_5  = []color.Color{color.RGBA{215, 25, 28, 255}, color.RGBA{253, 174, 97, 255}, color.RGBA{255, 255, 191, 255}, color.RGBA{171, 221, 164, 255}, color.RGBA{43, 131, 186, 255}}
	Spectral_6  = []color.Color{color.RGBA{213, 62, 79, 255}, color.RGBA{252, 141, 89, 255}, color.RGBA{254, 224, 139, 255}, color.RGBA{230, 245, 152, 255}, color.RGBA{153, 213, 148, 255}, color.RGBA{50, 136, 189, 255}}
	Spectral_7  = []color.Color{color.RGBA{213, 62, 79, 255}, color.RGBA{252, 141, 89, 255}, color.RGBA{254, 224, 139, 255}, color.RGBA{255, 255, 191, 255}, color.RGBA{230, 245, 152, 255}, color.RGBA{153, 213, 148, 255}, color.RGBA{50, 136, 189, 255}}
	Spectral_8  = []color.Color{color.RGBA{213, 62, 79, 255}, color.RGBA{244, 109, 67, 255}, color.RGBA{253, 174, 97, 255}, color.RGBA{254, 224, 139, 255}, color.RGBA{230, 245, 152, 255}, color.RGBA{171, 221, 164, 255}, color.RGBA{102, 194, 165, 255}, color.RGBA{50, 136, 189, 255}}
	Spectral_9  = []color.Color{color.RGBA{213, 62, 79, 255}, color.RGBA{244, 109, 67, 255}, color.RGBA{253, 174, 97, 255}, color.RGBA{254, 224, 139, 255}, color.RGBA{255, 255, 191, 255}, color.RGBA{230, 245, 152, 255}, color.RGBA{171, 221, 164, 255}, color.RGBA{102, 194, 165, 255}, color.RGBA{50, 136, 189, 255}}
	Spectral_10 = []color.Color{color.RGBA{158, 1, 66, 255}, color.RGBA{213, 62, 79, 255}, color.RGBA{244, 109, 67, 255}, color.RGBA{253, 174, 97, 255}, color.RGBA{254, 224, 139, 255}, color.RGBA{230, 245, 152, 255}, color.RGBA{171, 221, 164, 255}, color.RGBA{102, 194, 165, 255}, color.RGBA{50, 136, 189, 255}, color.RGBA{94, 79, 162, 255}}
	Spectral_11 = []color.Color{color.RGBA{158, 1, 66, 255}, color.RGBA{213, 62, 79, 255}, color.RGBA{244, 109, 67, 255}, color.RGBA{253, 174, 97, 255}, color.RGBA{254, 224, 139, 255}, color.RGBA{255, 255, 191, 255}, color.RGBA{230, 245, 152, 255}, color.RGBA{171, 221, 164, 255}, color.RGBA{102, 194, 165, 255}, color.RGBA{50, 136, 189, 255}, color.RGBA{94, 79, 162, 255}}
)
View Source
var (
	// YlGn is a sequential palette.
	YlGn   = map[int][]color.Color{3: YlGn_3, 4: YlGn_4, 5: YlGn_5, 6: YlGn_6, 7: YlGn_7, 8: YlGn_8, 9: YlGn_9}
	YlGn_3 = []color.Color{color.RGBA{247, 252, 185, 255}, color.RGBA{173, 221, 142, 255}, color.RGBA{49, 163, 84, 255}}
	YlGn_4 = []color.Color{color.RGBA{255, 255, 204, 255}, color.RGBA{194, 230, 153, 255}, color.RGBA{120, 198, 121, 255}, color.RGBA{35, 132, 67, 255}}
	YlGn_5 = []color.Color{color.RGBA{255, 255, 204, 255}, color.RGBA{194, 230, 153, 255}, color.RGBA{120, 198, 121, 255}, color.RGBA{49, 163, 84, 255}, color.RGBA{0, 104, 55, 255}}
	YlGn_6 = []color.Color{color.RGBA{255, 255, 204, 255}, color.RGBA{217, 240, 163, 255}, color.RGBA{173, 221, 142, 255}, color.RGBA{120, 198, 121, 255}, color.RGBA{49, 163, 84, 255}, color.RGBA{0, 104, 55, 255}}
	YlGn_7 = []color.Color{color.RGBA{255, 255, 204, 255}, color.RGBA{217, 240, 163, 255}, color.RGBA{173, 221, 142, 255}, color.RGBA{120, 198, 121, 255}, color.RGBA{65, 171, 93, 255}, color.RGBA{35, 132, 67, 255}, color.RGBA{0, 90, 50, 255}}
	YlGn_8 = []color.Color{color.RGBA{255, 255, 229, 255}, color.RGBA{247, 252, 185, 255}, color.RGBA{217, 240, 163, 255}, color.RGBA{173, 221, 142, 255}, color.RGBA{120, 198, 121, 255}, color.RGBA{65, 171, 93, 255}, color.RGBA{35, 132, 67, 255}, color.RGBA{0, 90, 50, 255}}
	YlGn_9 = []color.Color{color.RGBA{255, 255, 229, 255}, color.RGBA{247, 252, 185, 255}, color.RGBA{217, 240, 163, 255}, color.RGBA{173, 221, 142, 255}, color.RGBA{120, 198, 121, 255}, color.RGBA{65, 171, 93, 255}, color.RGBA{35, 132, 67, 255}, color.RGBA{0, 104, 55, 255}, color.RGBA{0, 69, 41, 255}}
)
View Source
var (
	// YlGnBu is a sequential palette.
	YlGnBu   = map[int][]color.Color{3: YlGnBu_3, 4: YlGnBu_4, 5: YlGnBu_5, 6: YlGnBu_6, 7: YlGnBu_7, 8: YlGnBu_8, 9: YlGnBu_9}
	YlGnBu_3 = []color.Color{color.RGBA{237, 248, 177, 255}, color.RGBA{127, 205, 187, 255}, color.RGBA{44, 127, 184, 255}}
	YlGnBu_4 = []color.Color{color.RGBA{255, 255, 204, 255}, color.RGBA{161, 218, 180, 255}, color.RGBA{65, 182, 196, 255}, color.RGBA{34, 94, 168, 255}}
	YlGnBu_5 = []color.Color{color.RGBA{255, 255, 204, 255}, color.RGBA{161, 218, 180, 255}, color.RGBA{65, 182, 196, 255}, color.RGBA{44, 127, 184, 255}, color.RGBA{37, 52, 148, 255}}
	YlGnBu_6 = []color.Color{color.RGBA{255, 255, 204, 255}, color.RGBA{199, 233, 180, 255}, color.RGBA{127, 205, 187, 255}, color.RGBA{65, 182, 196, 255}, color.RGBA{44, 127, 184, 255}, color.RGBA{37, 52, 148, 255}}
	YlGnBu_7 = []color.Color{color.RGBA{255, 255, 204, 255}, color.RGBA{199, 233, 180, 255}, color.RGBA{127, 205, 187, 255}, color.RGBA{65, 182, 196, 255}, color.RGBA{29, 145, 192, 255}, color.RGBA{34, 94, 168, 255}, color.RGBA{12, 44, 132, 255}}
	YlGnBu_8 = []color.Color{color.RGBA{255, 255, 217, 255}, color.RGBA{237, 248, 177, 255}, color.RGBA{199, 233, 180, 255}, color.RGBA{127, 205, 187, 255}, color.RGBA{65, 182, 196, 255}, color.RGBA{29, 145, 192, 255}, color.RGBA{34, 94, 168, 255}, color.RGBA{12, 44, 132, 255}}
	YlGnBu_9 = []color.Color{color.RGBA{255, 255, 217, 255}, color.RGBA{237, 248, 177, 255}, color.RGBA{199, 233, 180, 255}, color.RGBA{127, 205, 187, 255}, color.RGBA{65, 182, 196, 255}, color.RGBA{29, 145, 192, 255}, color.RGBA{34, 94, 168, 255}, color.RGBA{37, 52, 148, 255}, color.RGBA{8, 29, 88, 255}}
)
View Source
var (
	// YlOrBr is a sequential palette.
	YlOrBr   = map[int][]color.Color{3: YlOrBr_3, 4: YlOrBr_4, 5: YlOrBr_5, 6: YlOrBr_6, 7: YlOrBr_7, 8: YlOrBr_8, 9: YlOrBr_9}
	YlOrBr_3 = []color.Color{color.RGBA{255, 247, 188, 255}, color.RGBA{254, 196, 79, 255}, color.RGBA{217, 95, 14, 255}}
	YlOrBr_4 = []color.Color{color.RGBA{255, 255, 212, 255}, color.RGBA{254, 217, 142, 255}, color.RGBA{254, 153, 41, 255}, color.RGBA{204, 76, 2, 255}}
	YlOrBr_5 = []color.Color{color.RGBA{255, 255, 212, 255}, color.RGBA{254, 217, 142, 255}, color.RGBA{254, 153, 41, 255}, color.RGBA{217, 95, 14, 255}, color.RGBA{153, 52, 4, 255}}
	YlOrBr_6 = []color.Color{color.RGBA{255, 255, 212, 255}, color.RGBA{254, 227, 145, 255}, color.RGBA{254, 196, 79, 255}, color.RGBA{254, 153, 41, 255}, color.RGBA{217, 95, 14, 255}, color.RGBA{153, 52, 4, 255}}
	YlOrBr_7 = []color.Color{color.RGBA{255, 255, 212, 255}, color.RGBA{254, 227, 145, 255}, color.RGBA{254, 196, 79, 255}, color.RGBA{254, 153, 41, 255}, color.RGBA{236, 112, 20, 255}, color.RGBA{204, 76, 2, 255}, color.RGBA{140, 45, 4, 255}}
	YlOrBr_8 = []color.Color{color.RGBA{255, 255, 229, 255}, color.RGBA{255, 247, 188, 255}, color.RGBA{254, 227, 145, 255}, color.RGBA{254, 196, 79, 255}, color.RGBA{254, 153, 41, 255}, color.RGBA{236, 112, 20, 255}, color.RGBA{204, 76, 2, 255}, color.RGBA{140, 45, 4, 255}}
	YlOrBr_9 = []color.Color{color.RGBA{255, 255, 229, 255}, color.RGBA{255, 247, 188, 255}, color.RGBA{254, 227, 145, 255}, color.RGBA{254, 196, 79, 255}, color.RGBA{254, 153, 41, 255}, color.RGBA{236, 112, 20, 255}, color.RGBA{204, 76, 2, 255}, color.RGBA{153, 52, 4, 255}, color.RGBA{102, 37, 6, 255}}
)
View Source
var (
	// YlOrRd is a sequential palette.
	YlOrRd   = map[int][]color.Color{3: YlOrRd_3, 4: YlOrRd_4, 5: YlOrRd_5, 6: YlOrRd_6, 7: YlOrRd_7, 8: YlOrRd_8}
	YlOrRd_3 = []color.Color{color.RGBA{255, 237, 160, 255}, color.RGBA{254, 178, 76, 255}, color.RGBA{240, 59, 32, 255}}
	YlOrRd_4 = []color.Color{color.RGBA{255, 255, 178, 255}, color.RGBA{254, 204, 92, 255}, color.RGBA{253, 141, 60, 255}, color.RGBA{227, 26, 28, 255}}
	YlOrRd_5 = []color.Color{color.RGBA{255, 255, 178, 255}, color.RGBA{254, 204, 92, 255}, color.RGBA{253, 141, 60, 255}, color.RGBA{240, 59, 32, 255}, color.RGBA{189, 0, 38, 255}}
	YlOrRd_6 = []color.Color{color.RGBA{255, 255, 178, 255}, color.RGBA{254, 217, 118, 255}, color.RGBA{254, 178, 76, 255}, color.RGBA{253, 141, 60, 255}, color.RGBA{240, 59, 32, 255}, color.RGBA{189, 0, 38, 255}}
	YlOrRd_7 = []color.Color{color.RGBA{255, 255, 178, 255}, color.RGBA{254, 217, 118, 255}, color.RGBA{254, 178, 76, 255}, color.RGBA{253, 141, 60, 255}, color.RGBA{252, 78, 42, 255}, color.RGBA{227, 26, 28, 255}, color.RGBA{177, 0, 38, 255}}
	YlOrRd_8 = []color.Color{color.RGBA{255, 255, 204, 255}, color.RGBA{255, 237, 160, 255}, color.RGBA{254, 217, 118, 255}, color.RGBA{254, 178, 76, 255}, color.RGBA{253, 141, 60, 255}, color.RGBA{252, 78, 42, 255}, color.RGBA{227, 26, 28, 255}, color.RGBA{177, 0, 38, 255}}
)
View Source
var ByName = map[string]map[int][]color.Color{"Accent": Accent, "Blues": Blues, "BrBG": BrBG, "BuGn": BuGn, "BuPu": BuPu, "Dark2": Dark2, "GnBu": GnBu, "Greens": Greens, "Greys": Greys, "OrRd": OrRd, "Oranges": Oranges, "PRGn": PRGn, "Paired": Paired, "Pastel1": Pastel1, "Pastel2": Pastel2, "PiYG": PiYG, "PuBu": PuBu, "PuBuGn": PuBuGn, "PuOr": PuOr, "PuRd": PuRd, "Purples": Purples, "RdBu": RdBu, "RdGy": RdGy, "RdPu": RdPu, "RdYlBu": RdYlBu, "RdYlGn": RdYlGn, "Reds": Reds, "Set1": Set1, "Set2": Set2, "Set3": Set3, "Spectral": Spectral, "YlGn": YlGn, "YlGnBu": YlGnBu, "YlOrBr": YlOrBr, "YlOrRd": YlOrRd}

ByName is a map indexing all palettes by string name.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL