Description Usage Arguments Value
Finds as many high-contrast colors as specified by the user.
1 2 | maximum_contrast_colors(..., n, remove_white = TRUE, seed = 1,
maxrep = 10, maxit = 100, h = 1e-08, output = "hex")
|
... |
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. |
A list of
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.