Other packages > Find by keyword >

colorrepel  

Repel Visually Similar Colors for Colorblind Users in Various Plots
View on CRAN: Click here


Download and install colorrepel package within the R console
Install from CRAN:
install.packages("colorrepel")

Install from Github:
library("remotes")
install_github("cran/colorrepel")

Install by package version:
library("remotes")
install_version("colorrepel", "0.4.3")



Attach the package and use:
library("colorrepel")
Maintained by
Rui Fu
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2024-09-17
Latest Update: 2025-07-21
Description:
Iterate and repel visually similar colors away in various 'ggplot2' plots. When many groups are plotted at the same time on multiple axes, for instance stacked bars or scatter plots, effectively ordering colors becomes difficult. This tool iterates through color combinations to find the best solution to maximize visual distinctness of nearby groups, so plots are more friendly toward colorblind users. This is achieved by two distance measurements, distance between groups within the plot, and CIELAB color space distances between colors as described in Carter et al., (2018) <doi:10.25039/TR.015.2018>.
How to cite:
Rui Fu (2024). colorrepel: Repel Visually Similar Colors for Colorblind Users in Various Plots. R package version 0.4.3, https://cran.r-project.org/web/packages/colorrepel. Accessed 26 Jun. 2026.
Previous versions and publish date:
0.1.0 (2024-09-17 13:50), 0.3.0 (2024-09-29 15:40), 0.4.1 (2025-01-19 05:50)
Other packages that cited colorrepel R package
View colorrepel citation profile
Other R packages that colorrepel depends, imports, suggests or enhances
Complete documentation for colorrepel
Functions, R codes and Examples using the colorrepel R package
Full colorrepel package functions and examples
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

infotheo  
Information-Theoretic Measures
Implements various measures of information theory based on several entropy estimators. ...
Download / Learn more Package Citations See dependency  
ggblanket  
Simplify 'ggplot2' Visualisation
Simplify 'ggplot2' visualisation with 'ggblanket' wrapper functions. ...
Download / Learn more Package Citations See dependency  
poptrend  
Estimate Smooth and Linear Trends from Population Count Survey Data
Functions to estimate and plot smooth or linear population trends, or population indices, from anim ...
Download / Learn more Package Citations See dependency  
quickcode  
Quick and Essential 'R' Tricks for Better Scripts
The NOT functions, 'R' tricks and a compilation of some simple quick plus often used 'R' codes to im ...
Download / Learn more Package Citations See dependency  
tactile  
New and Extended Plots, Methods, and Panel Functions for 'lattice'
Extensions to 'lattice', providing new high-level functions, methods for existing functions, panel f ...
Download / Learn more Package Citations See dependency  
colormap  
Color Palettes using Colormaps Node Module
Allows to generate colors from palettes defined in the colormap module of 'Node.js'. (see ...
Download / Learn more Package Citations See dependency  

27,535

R Packages

236,180

Dependencies

73,223

Author Associations

27,536

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA