Utility functions to access and plot color palettes
col2hex(col, alpha = alpha)
ipda | unhcr.org | 2020
{ hex1 <- col2hex("black", alpha = 255/2) hex2 <- col2hex("white", alpha = 255/2) hex3 <- col2hex("gold", alpha = 255/2) hex4 <- col2hex("steelblue", alpha = 255/2) #seecol(pal = c(hex1, hex2, hex3, hex4), n = "all") }