mexicolors: Mexican Politics-Inspired Color Palette Generator

A color palette generator inspired by Mexican politics, with colors ranging from red on the left to gray in the middle and green on the right. Palette options range from only a few colors to several colors, but with discrete and continuous options to offer greatest flexibility to the user. This package allows for a range of applications, from mapping brief discrete scales (e.g., four colors for Morena, PRI, and PAN) to continuous interpolated arrays including dozens of shades graded from red to green.

Getting started

Package details

AuthorAlejandro Platas-López [aut, cre] (<https://orcid.org/0000-0002-2584-343X>)
MaintainerAlejandro Platas-López <alejandroplatasl@gmail.com>
LicenseGPL (>= 2)
Version0.2.0
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("mexicolors")

Try the mexicolors package in your browser

Any scripts or data that you put into this service are public.

mexicolors documentation built on Sept. 7, 2021, 5:09 p.m.