
Create a color palette from an image
create_palette_from_image.RdCreate a color palette from an image
Arguments
- img
Image URL(s) and/or path(s).
- n
Number of colors. Default is 5.
- extract_method
Method of color extraction. Default is the
medianof the cluster specific RGB values. Other options are"mean","mode", and"hex_freq"(most common hex colors per cluster)- show
Whether to show the generated color palette. Default is
FALSE- ...
Optional arguments in
colorfindr::get_colors