separate_qual_colors: Order Qualitative Colors

Description Usage Arguments Value

View source: R/color_scales.R

Description

Orders qualitative colors by finding the largest difference between each color based on HCL

Usage

1
separate_qual_colors(pal, preserve_first = TRUE)

Arguments

pal

vector of HEX colors

preserve_first

TRUE preserve the first color in the vector.

Value

color_separated vector of colors separated by HCL


jstagge/staggefuncs documentation built on May 20, 2019, 2:11 a.m.