Returns a built-in data frame with hex code.

default_hex(n_groups = 5, cvd = FALSE)

Arguments

n_groups

integer of number of selected groups

cvd

logical Color Vision Deficent Friendly palette useage

Value

data.frame

Examples

# Get hex codes for 5 groups
hex_df <- default_hex()

# Get hex codes for 3 groups with CVD palette
hex_df <- default_hex(3, TRUE)