{"repo":"CoryMcCartan/wacolors","free":true,"listed":false,"github":"https://github.com/CoryMcCartan/wacolors","clone":"git clone https://github.com/CoryMcCartan/wacolors.git","description":"Colorblind-friendly Palettes from Washington State","language":"R","stars":16,"topics":["r","colorblind-friendly-palettes","color-palette","data-visualization","washington-state","colorblind"],"license":null,"category":"analytics","readme_excerpt":"Colorblind-friendly Palettes from Washington State The wacolor package contains 28 color palettes taken from the landscapes and cities of Washington state. Colors were extracted from a set of photographs, and then combined to form a set of continuous and discrete palettes. Continuous palettes were designed to be perceptually uniform, while discrete palettes were chosen to maximize contrast at several different levels of overall brightness and saturation. Each palette has been evaluated to ensure colors are distinguishable by colorblind people. Discrete palettes contain at most seven colors. Don’t create graphics that use more than seven discrete colors. You can color a map with four. Anything more risks confusion. Consider differentiating through faceting or labels, instead. Installation You can install the released version of wacolors from CRAN with: You can install the development version of wacolors from GitHub with: Usage It’s easy to select a palette. Access palettes through wacolors$... for autocompletion suggestions. The package comes with ggplot2 -compatible scales which are easy to use. You can use the wa pal function to directly construct a discretized/binned color scale. Code Generation In case you do not wish to have wacolors as a dependency, you may use the pal vector() and pal functions() functions, which generate self-contained code for using the palettes. When using RStudio, this code will be loaded, ready to copy, at the console prompt. The Palettes Continuou","default_branch":null,"files":null,"tree":[],"storefront":"/r/CoryMcCartan","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/CoryMcCartan/wacolors/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}