hex_to_ase | R Documentation |
Convert a list of named, hexadecimal RBG colors into an ASE object
hex_to_ase(colors, type)
colors |
named vector of RBG hex colors |
type |
one of " |
ase
object
ase_temp <- tempfile(fileext = ".ase") on.exit(unlink(ase_temp)) github_url <- "https://github.com/picwellwisher12pk/en_us/raw/master/Swatches/Metal.ase" metal <- read_ase(github_url) hex_to_ase(metal, "global") |> ase_encode() |> writeBin(ase_temp) read_ase(ase_temp)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.