diff options
Diffstat (limited to 'palettes.toml')
| -rw-r--r-- | palettes.toml | 139 |
1 files changed, 139 insertions, 0 deletions
diff --git a/palettes.toml b/palettes.toml new file mode 100644 index 0000000..0032620 --- /dev/null +++ b/palettes.toml @@ -0,0 +1,139 @@ +[[palette]] +slug = "seaborn-colorblind" +title = "Seaborn colorblind" +source = "https://seaborn.pydata.org/tutorial/color_palettes.html#qualitative-color-palettes" +description = """ +Adjusted version of matplotlib's default `tab10` palette for color blindness. +""" +colors = [ + {name = "blue", r = 0.00392156862745098, g = 0.45098039215686275, b = 0.6980392156862745}, + {name = "orange", r = 0.8705882352941177, g = 0.5607843137254902, b = 0.0196078431372549}, + {name = "green", r = 0.00784313725490196, g = 0.6196078431372549, b = 0.45098039215686275}, + {name = "red", r = 0.8352941176470589, g = 0.3686274509803922, b = 0.0}, + {name = "purple", r = 0.8, g = 0.47058823529411764, b = 0.7372549019607844}, + {name = "brown", r = 0.792156862745098, g = 0.5686274509803921, b = 0.3803921568627451}, + {name = "pink", r = 0.984313725490196, g = 0.6862745098039216, b = 0.8941176470588236}, + {name = "gray", r = 0.5803921568627451, g = 0.5803921568627451, b = 0.5803921568627451}, + {name = "olive", r = 0.9254901960784314, g = 0.8823529411764706, b = 0.2}, + {name = "cyan", r = 0.33725490196078434, g = 0.7058823529411765, b = 0.9137254901960784}, +] + + +[[palette]] +slug = "paul-tol-bright" +title = "Paul Tol's Bright" +source = "https://sronpersonalpages.nl/~pault/data/colourschemes.pdf" +description = """ +Bright qualitative scheme. +Works well for plot lines and map regions, but not as text background. +""" +colors = [ + {name = "blue", R = 68, G = 119, B = 170}, + {name = "cyan", R = 102, G = 204, B = 238}, + {name = "green", R = 34, G = 136, B = 51}, + {name = "yellow", R = 204, G = 187, B = 68}, + {name = "red", R = 238, G = 102, B = 119}, + {name = "purple", R = 170, G = 51, B = 119}, + {name = "grey", R = 187, G = 187, B = 187}, +] + + +[[palette]] +slug = "paul-tol-muted" +title = "Paul Tol's Muted" +source = "https://sronpersonalpages.nl/~pault/data/colourschemes.pdf" +description = """ +Muted qualitative color scheme. +Works well for plot lines and map regions, but not as text background. +""" +colors = [ + {name = "indigo", R = 51, G = 34, B = 136}, + {name = "cyan", R = 136, G = 204, B = 238}, + {name = "teal", R = 68, G = 170, B = 153}, + {name = "green", R = 17, G = 119, B = 51}, + {name = "olive", R = 153, G = 153, B = 51}, + {name = "sand", R = 221, G = 204, B = 119}, + {name = "rose", R = 204, G = 102, B = 119}, + {name = "wine", R = 136, G = 34, B = 85}, + {name = "purple", R = 170, G = 68, B = 153}, + {name = "pale grey", R = 221, G = 221, B = 221}, +] + + +[[palette]] +slug = "paul-tol-hc" +title = "Paul Tol's High Contrast" +source = "https://sronpersonalpages.nl/~pault/data/colourschemes.pdf" +description = """ +High-contrast scheme, optimized for contrast. +Also works when converted to grayscale. +Technically, `"white"` (`#FFFFFF`) is also part of this scheme, but somewhat pointless to include. +""" +colors = [ + {name = "yellow", R = 221, G = 170, B = 51}, + {name = "red", R = 187, G = 85, B = 102}, + {name = "blue", R = 0, G = 68, B = 136}, + {name = "black", R = 0, G = 0, B = 0}, +] + + +[[palette]] +slug = "okabe-ito" +title = "Okabe and Ito's palette" +source = "https://jfly.uni-koeln.de/color/" +description = """ +Masatake Okabe and Kei Ito propose this palette, which has unambiguous vivid colors with names that are easy to identify. +""" +colors = [ + {name = "black", R = 0, G = 0, B = 0}, + {name = "orange", R = 230, G = 159, B = 0}, + {name = "sky blue", R = 86, G = 180, B = 233}, + {name = "bluish green", R = 0, G = 158, B = 115}, + {name = "yellow", R = 240, G = 228, B = 66}, + {name = "blue", R = 0, G = 114, B = 178}, + {name = "vermilion", R = 213, G = 94, B = 0}, + {name = "reddish purple", R = 204, G = 121, B = 167}, +] + + +[[palette]] +slug = "sckolnick-5" +title = "Sckolnick's Bright Contrast" +source = "https://msk678.github.io/Farbenblind.html#five-colors-bright-contrasts" +description = """ +Has only 5 colors, but a high contrast between them. +""" +colors = [ + {RGB = "#D55E00"}, + {RGB = "#CC79A7"}, + {RGB = "#0072B2"}, + {RGB = "#F0E442"}, + {RGB = "#009E73"}, +] + + +[[palette]] +slug = "krzywinski" +title = "Krzywinski Palette" +source = "https://mk.bcgsc.ca/biovis2012/krzywinski-visualizing-biological-data.pdf" +description = """ +This palette is quite large with 15 colors, but individual colors are not as nicely distinguishable as with other palettes that have fewer colors. +Only use this if you *really* need 15 colors, and be prepared that there might be ambiguity (e.g., between the first two colors). +""" +colors = [ + {RGB = "#000000"}, + {RGB = "#004949"}, + {RGB = "#009292"}, + {RGB = "#FF6DB6"}, + {RGB = "#FFB6DB"}, + {RGB = "#490092"}, + {RGB = "#006DDB"}, + {RGB = "#B66DFF"}, + {RGB = "#6DB6FF"}, + {RGB = "#B6DBFF"}, + {RGB = "#920000"}, + {RGB = "#924900"}, + {RGB = "#DB6D00"}, + {RGB = "#24FF24"}, + {RGB = "#FFFF6D"}, +] |
