IUCN Palette ============

Make your plots with the official colours used by the IUCN according to their style guide.

I wanted to give a bit more on the package I made for using IUCN palette colours in in R. I built this as I wanted to do just that, align the data I was representing with the official colours of the IUCN. The framework for the package was the Wes Anderson (package)[https://github.com/karthik/wesanderson] which made this fairly simple for me. I built some additional features to it though as people would be more likely to need only select colours.

The additional features are passed as arguments to the main function ‘iucn_palette’ where you can exclude certain colours (exclude the colour for ‘Extinct’ for example), or where you can select to just use one (select only ‘Endangered’). Practically, if you’re only using one this isn’t that different from putting the hexcode yourself, but the package does allow you to easily switch between them and access these colours when you need.

## Installation

#devtools::install_github("timcashion/IUCNpalette")


## Usage

library("IUCNpalette")
# See all palettes
names(iucn_palettes)
#> [1] "CO"  "CR"  "EN"  "VU"  "NT"  "LC"  "DD"  "NE"  "All"


### All

iucn_palette(category="All")


### Remove some categories

If you want to have most but remove some that aren’t in your plot:

iucn_palette(category="All", exclude=c("DD", "NE", "CO"))


### Single category

If you want to only call a single category colour:

iucn_palette(category="EN")


Source: Bland et al., 2016.

NOTE: This package is made for aligning graphics with the IUCN official category colours, but is not endorsed in any way by the IUCN.