brewer.gle
Library of Brewer palettes for Graphics Layout Engine.
Palettes ported by Francois Tonneau (2025).
LIBRARY SUMMARY
The palettes in this library are ported from ColorBrewer:
https://en.wikipedia.org/wiki/ColorBrewer
The palettes can be sequential, divergent, or qualitative. The name of each
palette ends with its color count (= how many colors the palette comprises).
Some palette names include color abbreviations such as Bu for blue, Pu for
purple, Yl for yellow, etc.
The list of available palettes follows. For brevity, palettes with the same
base name but with different color counts (e.g., AccentQual3, AccentQual4, ...
AccentQual8) are listed as a single name followed by a numeric range (e.g.,
"AccentQual 3-8").
AccentQual 3-8
BluesSeq 3-9
BrBGDiv 3-11
BuGnSeq 3-9
BuPuSeq 3-9
Dark2Qual 3-8
GnBuSeq 3-9
GreensSeq 3-9
GreysSeq 3-9
OrangesSeq 3-9
OrRdSeq 3-9
PairedQual 3-12
Pastel1Qual 3-9
Pastel2Qual 3-8
PiYGDiv 3-11
PRGnDiv 3-11
PuBuSeq 3-9
PuBuGnSeq 3-9
PuOrDiv 3-11
PuRdSeq 3-9
PurplesSeq 3-9
RdBuDiv 3-11
RdGyDiv 3-11
RdPuSeq 3-9
RedsSeq 3-9
RdYlBuDiv 3-11
RdYlGnDiv 3-11
Set1Qual 3-9
Set2Qual 3-8
Set3Qual 3-12
SpectralDiv 3-11
YlGnSeq 3-9
YlGnBuSeq 3-9
YlOrBrSeq 3-9
YlOrRdSeq 3-9
PALETTE SUBROUTINES