A simple interface to manually pick colours from colours(). Uses the current device is none is open.

colour_picker(hcl = TRUE)

color_picker(hcl = TRUE)

Arguments

hcl
If TRUE (default), transforms the colour names to hcl using scale::col2hcl.

Value

A vector of colours.

See also

The codourpicker package by Dean Attali is a much more elaborate version of this function https://github.com/daattali/colourpicker.