maximum_contrast_colors: Finds as many high-contrast colors as specified by the user.

Description Usage Arguments Value

Description

Finds as many high-contrast colors as specified by the user.

Usage

1
2
maximum_contrast_colors(..., n, remove_white = TRUE, seed = 1,
  maxrep = 10, maxit = 100, h = 1e-08, output = "hex")

Arguments

...

If desired, user-specified colors that must appear on the list. excode, c(r,g,b), color name as character and "color" class object are all supported.

n

Number of colors to be found.

remove_white

Prevent white from being added to the list? Recommended for usage on white backgrounds. Defaults to TRUE.

seed

Seed to initialize random number generator. Used for consistency between executions.

maxrep

maxrep parameter for maximize_contrast function call

maxit

maxit parameter for maximize_contrast function call

h

h parameter for maximize_contrast function call

output

Output format. "hex" and "color" supported.

Value

A list of


dpcarballo/coloR documentation built on June 1, 2019, 8:14 p.m.