SymbolixAU / colourvalues

R library for assigning colours to values
https://symbolixau.github.io/colourvalues/
46 stars 6 forks source link

get_palette() - return hex #58

Closed SymbolixAU closed 5 years ago

SymbolixAU commented 5 years ago

from here

have an argument in get_palette() which returns the colours as hex, rather than rgb.

mpadge commented 5 years ago

That would just make things one step easier, because it's the only (simple) way to both diagnose a problem and find a solution from the same help file. Would help lots, I'd say

SymbolixAU commented 5 years ago

done

get_palette("viridis", rgb = FALSE )
  [1] "#440154" "#440255" "#440357" "#450558" ...
mpadge commented 5 years ago

brilliant - thanks loads!