Description Usage Arguments Value Examples
Retrieve color palette from colormind, give suggestions
1 2 3 4 5 6 7 | get_colormind_colors(
x = NULL,
model = "default",
user_agent = "colormind R package github.com/dmi3kno/colormind",
verbose = TRUE,
...
)
|
x |
character vector of valid colors in hex or string (color names) format, which should serve as starting values for generated palette. Can contain missing values. Maximum length of vector is 5. |
model |
one of color models returned by 'get_colormind_models()'. Default value is "default". |
user_agent |
Optional user agent string to be used when querying colormind.io |
verbose |
optional argument for suppressing messages. Default is 'TRUE' |
... |
other parameters passed to 'config' argument of 'httr::POST' |
vector of colors in hex format
1 2 | if(curl::has_internet())
get_colormind_colors()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.