hex_hash | R Documentation |
Create a HEX color based on the characters of the input string
hex_hash(str, first = TRUE)
str |
Input string |
first |
if TRUE, use the first three characters to generate the color. If FALSE, use a random selection of three characters from the string to generate the color |
a string representing the color, e.g. "#FF00EE"
library(gfutilities)
hex_hash("Yelloweye Rockfish", FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.