neuropsychology (version 0.5.0)

n_colours: Returns a vector of colours

Description

Returns a vector of colours based on the material design palette.

Usage

n_colours(colours="all")

Arguments

colours
c("all", "blues", "reds", "yellows", "greys"). The colours list to return.

Value

n_colours
A vector of colours in HEX format.

Examples

Run this code
require(neuropsychology)

mypalette <- n_colours("blues")

Run the code above in your browser using DataCamp Workspace