Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

get_palette() - return hex #58

Closed
SymbolixAU opened this issue Nov 25, 2019 · 3 comments
Closed

get_palette() - return hex #58

SymbolixAU opened this issue Nov 25, 2019 · 3 comments

Comments

@SymbolixAU
Copy link
Collaborator

SymbolixAU commented Nov 25, 2019

from here

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

@mpadge
Copy link

mpadge commented Nov 25, 2019

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
Copy link
Collaborator Author

done

get_palette("viridis", rgb = FALSE )
  [1] "#440154" "#440255" "#440357" "#450558" ...

@mpadge
Copy link

mpadge commented Nov 25, 2019

brilliant - thanks loads!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant