Skip to content

A simple and easy-to-use package that provides Material Design colors for R.

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md
Notifications You must be signed in to change notification settings

shahriar-siham/r-material-colors

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Material Design Colors for R

As a graphic designer, I just couldn't vibe with the default colors R gives you for plotting. They're... fine, I guess? But they lack that modern, polished look. So I thought, why not use Google's Material Design Colors instead?

Now you can bring that clean, aesthetic Material Design palette into your R plots effortlessly.

Installation

You can install the package from GitHub using the devtools package:

# Install devtools if not already installed
install.packages("devtools")

# Install materialColors from GitHub
devtools::install_github("shahriar-siham/r-material-colors")

Example

library(materialColors)

mcolor("blue") # Returns hex code for blue color, shade 500
mcolor("blue_accent", 200) # Returns hex code for blue accent, shade 200
mcolor("red", 1000) # Returns NA and prints a warning

License

This package is licensed under the MIT License.

About

A simple and easy-to-use package that provides Material Design colors for R.

Topics

Resources

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages