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.

Version: 0.2.0
Published: 2021-09-07
Author: Alejandro Platas-López ORCID iD [aut, cre]
Maintainer: Alejandro Platas-López <alejandroplatasl at>
License: GPL-2 | GPL-3 [expanded from: GPL (≥ 2)]
NeedsCompilation: no
Materials: README
CRAN checks: mexicolors results


Reference manual: mexicolors.pdf


Package source: mexicolors_0.2.0.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): mexicolors_0.2.0.tgz, r-oldrel (arm64): mexicolors_0.2.0.tgz, r-release (x86_64): mexicolors_0.2.0.tgz, r-oldrel (x86_64): mexicolors_0.2.0.tgz


Please use the canonical form to link to this page.