Generate a vector of hex colour codes for the desired number of colours.
Colours are generated by evenly splitting hue in the range [0,360]
in the HCL colour space using grDevices::hcl.
The output is meant to follow the default colours used in ggplot2::ggplot2.
Usage
hexn(n, show = FALSE)
Value
A vector of hex colour codes that can be used for plotting.