Learn R Programming

ggblanket (version 5.2.0)

guardian: Colour blind safe categorical palette with 4 colours

Description

A colour blind safe categorical palette inspired by the Guardian newspaper.

Usage

guardian(n = 4)

Value

A character vector of hex codes.

Arguments

n

The number of colours to return. Defaults to the maximum of 4.

Examples

Run this code
scales::show_col(guardian())

Run the code above in your browser using DataLab