All Projects → tyluRp → lisa

tyluRp / lisa

Licence: Unknown, MIT licenses found Licenses found Unknown LICENSE MIT LICENSE.md
👩‍🎨 Color palettes from Color Lisa

Programming Languages

r
7636 projects

Projects that are alternatives of or similar to lisa

terco
A small collection of terminal colorschemes.
Stars: ✭ 12 (-70.73%)
Mutual labels:  color-palette, palettes
quickpalette
🏃‍♀️🎨 R package for quick extraction of color palettes from text and images
Stars: ✭ 24 (-41.46%)
Mutual labels:  color-palette, palettes
nabbyl
A web app to get the color palette from your favorite albums.
Stars: ✭ 22 (-46.34%)
Mutual labels:  color-palette
color-loader
🎨 A webpack loader that extracts the color palette of an image
Stars: ✭ 14 (-65.85%)
Mutual labels:  color-palette
distinctipy
A lightweight package for generating visually distinct colours.
Stars: ✭ 125 (+204.88%)
Mutual labels:  color-palette
gameofthrones
🎨 Game of Thrones inspired palette for R
Stars: ✭ 69 (+68.29%)
Mutual labels:  color-palette
anypalette.js
🎨 Read/write all color palette file formats ❤🧡💛💚💙💜
Stars: ✭ 41 (+0%)
Mutual labels:  palettes
vscode-color
Helper with GUI to generate color codes such as CSS color notations.
Stars: ✭ 88 (+114.63%)
Mutual labels:  color-palette
SecretColors
Python package for fantastic colors :)
Stars: ✭ 31 (-24.39%)
Mutual labels:  color-palette
tcolors
Commandline color picker and palette builder
Stars: ✭ 44 (+7.32%)
Mutual labels:  color-palette
material-ui-color
The lightest colorpicker, palette, colorinput, colorbutton ⚡ No dependencies. It uses React hooks, support Typescript theming and more !
Stars: ✭ 125 (+204.88%)
Mutual labels:  color-palette
palettify
Configurable JavaScript plugin to extract image primary colors and apply cool effects to it.
Stars: ✭ 18 (-56.1%)
Mutual labels:  color-palette
md-colors
Material design color palettes as an npm package
Stars: ✭ 12 (-70.73%)
Mutual labels:  color-palette
pantone-colors
Hex values of all 2310 Pantone colors
Stars: ✭ 147 (+258.54%)
Mutual labels:  color-palette
nmfspalette
🎨 an R color palette for NOAA Fisheries official colors
Stars: ✭ 19 (-53.66%)
Mutual labels:  color-palette
palettetown
Pokemon themed colour schemes for R.
Stars: ✭ 56 (+36.59%)
Mutual labels:  palettes
imgpalr
R package for generating color palettes from arbitrary images.
Stars: ✭ 44 (+7.32%)
Mutual labels:  color-palette
ColorPicker
Powerful screen ColorPicker/Chooser application for Linux Desktop
Stars: ✭ 55 (+34.15%)
Mutual labels:  color-palette
sanzo-wada
🎨 Interactive version of Sanzo Wada's - "A Dictionary of Color Combinations"
Stars: ✭ 139 (+239.02%)
Mutual labels:  color-palette
javascript-color-gradient
Lightweight JavaScript library, used to generate an array of color gradients, between start and finish colors.
Stars: ✭ 54 (+31.71%)
Mutual labels:  color-palette

lisa

R build status CRAN status CRAN_Download_Badge Codecov test coverage

This is a color palette R package that contains 128 palettes from Color Lisa.

Installation

Install the released version of lisa from CRAN:

install.packages("lisa")

Or install the development version from GitHub with:

# install.packages("devtools")
devtools::install_github("tylurp/lisa")

If you aren’t an R user, you might be interested in palettes.yml which contains all palettes in YAML format.

Palettes

Here’s a sample of the available palettes:

library(lisa)

par(mfrow = c(6, 3))
lapply(sample(lisa, 18), plot)

You can also call and/or modify palettes using lisa_palette:

x <- lisa_palette("JackBush_1", 1000, "continuous")
y <- lisa_palette("PabloPicasso", 2, "discrete")
z <- lisa_palette("KatsushikaHokusai", 1000, "continuous")
lapply(list(x, y, z), plot)

All palettes have 3 attributes associated with them, you can access them with the lisa list:

lisa$VincentvanGogh
#> * Work: The Starry Night 
#> * Author: Vincent van Gogh 
#> * Colors: #1a3431 #2b41a7 #6283c8 #ccc776 #c7ad24

There is also a table with more information of all available palettes:

artwork
#> # A tibble: 128 x 5
#>    author     work           palette     colors         url                     
#>    <chr>      <chr>          <chr>       <chr>          <chr>                   
#>  1 Josef Alb… Adobe (Varian… JosefAlbers #D77186 #61A2… http://www.wikiart.org/…
#>  2 Josef Alb… Homage to the… JosefAlber… #C00559 #DE1F… http://www.wikiart.org/…
#>  3 Gretchen … Golden Cloud   GretchenAl… #171635 #0022… https://www.google.com/…
#>  4 Billy App… Rainbow        BillyApple  #F24D98 #813B… http://www.wikiart.org/…
#>  5 Per Arnol… Spar           PerArnoldi  #C2151B #2021… http://www.moma.org/col…
#>  6 Milton Av… Bicycle Rider… MiltonAvery #F3C937 #7B53… http://www.wikiart.org/…
#>  7 Milton Av… Cello Player   MiltonAver… #E2CACD #2E7C… http://www.wikiart.org/…
#>  8 Hilma af … The Swan       HilmaafKli… #D6CFC4 #466C… https://artblart.files.…
#>  9 Jean-Mich… Untitled (Bla… Jean-Miche… #8CABD9 #F6A7… http://www.widewalls.ch…
#> 10 Jean-Mich… DUSTHEADS      Jean-Miche… #C11432 #009A… http://www.christies.co…
#> # … with 118 more rows

Example ggplot2 usage:

library(ggplot2)

ggplot(mtcars, aes(mpg, disp)) + 
  geom_point(aes(col = factor(gear)), size = 5, show.legend = FALSE) + 
  scale_color_manual(values = lisa$`Jean-MichelBasquiat`) + 
  theme_void()

Acknowledgements

  • Color Lisa for the color palettes
  • wesanderson for source code that powers most things in this repository
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].