emilhvitfeldt / r-color-palettes Goto Github PK
View Code? Open in Web Editor NEWComprehensive list of color palettes available in R โค๏ธ๐งก๐๐๐๐
Home Page: https://EmilHvitfeldt.github.io/r-color-palettes/
Comprehensive list of color palettes available in R โค๏ธ๐งก๐๐๐๐
Home Page: https://EmilHvitfeldt.github.io/r-color-palettes/
I'm so happy that you made this website! Thank you!
As you solicited improvements as issues, I'm here to suggest one. It'd be great to be able to filter palettes by the minimum number of colors needed. Ideally an optional range could be provided (x > n > y) such that you could find color palettes with at least x colors but no more than y.
This would allow you to find color combinations that fit your data, while not having to experiment with gradient or other palettes that have way too many similarly colored options.
Sincerely,
A guy who has many datasets with > 20 localities, each of which needs its own color
Seems like it would be super helpful so consolidate these into a single package. Any plans to do so?
It would be awesome if we could also sort palettes by their ability to be distinct/accessible for those experiencing some form of color-blindness.
display all the colors in the palettetown package instead of the 10 showcases.
Thank you for this resource - awesome list!
The 'Okabe-Ito' palette could be a good addition too perhaps?
The cartography package provides a set of palettes for thematic cartography purposes:
# Developmental version
devtools::install_github("riatelab/cartography")
# CRAN version
install.packages("cartography")
library(cartography)
display.carto.all()
carto.pal()
builds sequential, diverging or qualitative color palettes. Diverging color palettes can be dissymmetric (different number of colors in each of the two gradients).
This might be in the works, but right now the only available visualization is for discrete palettes here.
Are there any plans to add a visualizer for continuous ones?
NineteenEightyR isn't on cran at the moment
Love this project! I had no idea where to put my palettes so created palr. Very keen to consolidate
Hi Emil,
I've just finished a palette for wavelengths, wavecolour - the package also contains some functions for translating wavelengths into RGB and hex codes. Would be cool if you could add it to the list!
It is opinionated, and should only really be used for visualising visible light/wavelengths, I've tried to stress that point in the README. Thanks!
Mikkel
Hi this is my first time using this color palette feature and I feel helped with this feature.
But can I give a bit suggestion like add a feature to let us choose the color palette base on the color palette length ?
I think it will be useful if for example in my dataset I want to color the line graph with col base on A category column.
And in A category column consist of n unique value.
And if I use this feature, I will not troubled by counting the color palette length manually and also save time from error
cause by the color palette length are shorter than the category unique value.
And also consider this suggestion too: #50 (comment)
Or make the partition of color palette into multiple page with consist two container.
Upper container contain the color palette filter feature and Lower Container contain color palette page that have page slider in it
so that we can slide to other page without scrolling down and scrolling up too far.
And again. thanks for making Palette-Picker.
palette()
plot(1:8, col = 1:8)
palette("Set 3")
plot(1:8, col = 1:8)
I'm loving the palette picker!
I have one suggestion to make navigation a bit smoother. Right now one has to scroll down (a potentially long list of palettes), click on a palette, and then scroll up to the top of the page to see which package::palette combination they've just picked. I like that functionality, but it may be useful to also include a tooltip, such that when the mouse is over a particular palette, the {paletteer} function is displayed in an information bubble.
There are a few different ways of doing that from just html or css to JS. Some of the suggestions here seem like they'd be reasonably easy to implement, depending on how you built the site: https://stackoverflow.com/questions/11022843/add-hover-text-without-javascript-like-we-hover-on-a-users-reputation.
Again, thanks!
I've recently came across the cividis
palette, which is a version of viridis optimised for colour vision deficiency.
Hello, I was readind about feather package, which has color palettes based on Australian birds.
Here is the link of the package https://github.com/shandiya/feathers.
I'd love to use these colors with paletteer.
economist_bg and economist_fg in the ggthemes packages.
The shades package may be of interest.
The shades package allows colours to be manipulated easily in R. Properties such as brightness and saturation can be quickly queried, changed or varied, and perceptually uniform colour gradients can be constructed. It plays nicely with the pipe operator from the popular magrittr package, and fits naturally into that paradigm.
Base R colors can be used to form palettes (i.e. c(orange, orange1, orange2, orange3, orange4)
). Tian Zheng created a layout of all base R colors in alphabetic order.
This is super cool resource! Thank you very much.
Here is another source of palettes - https://cran.r-project.org/web/packages/unikn/vignettes/colors.html
Just mentioned in R-bloggers: scico is the R-package for Scientific colour maps by F. Crameri:
# development version
devtools::install_github("thomasp85/scico")
# CRAN version
install.packages("scico")
library(scico)
scico_palette_show()
Thank you for this great resource! It is super helpful to have all the palettes in one place.
I just discovered this beautiful palette by Jake Lawlor that I wanted to recommend for inclusion:
https://github.com/jakelawlor/PNWColors
stored in dichromat::colorschemes
as named list.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.