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 28 Aug. 2026.
Previous versions and publish date:
(2026-08-22 07:30), 0.1.0 (2024-09-17 13:50), 0.3.0 (2024-09-29 15:40), 0.4.1 (2025-01-19 05:50), 0.4.3 (2025-07-21 15:52), 0.5.0 (2026-07-14 04: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

spatialCovariance  
Computation of Spatial Covariance Matrices for Data on Rectangles
Functions that compute the spatial covariance matrix for the matern and power classes of spatial mod ...
Download / Learn more Package Citations See dependency  
RGIFT  
Create Quizzes in GIFT Format
Implementation of some functions to create quizzes in the GIFT format. This format is used by sever ...
Download / Learn more Package Citations See dependency  
mxnorm  
Apply Normalization Methods to Multiplexed Images
Implements methods to normalize multiplexed imaging data, including statistical metrics and visuali ...
Download / Learn more Package Citations See dependency  
survivalMPLdc  
Penalised Likelihood for Survival Analysis with Dependent Censoring
Fitting Cox proportional hazard model under dependent right censoring using copula and maximum penal ...
Download / Learn more Package Citations See dependency  
NPflow  
Bayesian Nonparametrics for Automatic Gating of Flow-Cytometry Data
Dirichlet process mixture of multivariate normal, skew normal or skew t-distributions modeling orie ...
Download / Learn more Package Citations See dependency  
nextGenShinyApps  
Craft Exceptional 'R Shiny' Applications and Dashboards with Novel Responsive Tools
Nove responsive tools for designing and developing 'Shiny' dashboards and applications. The scripts ...
Download / Learn more Package Citations See dependency  

28,332

R Packages

239,283

Dependencies

75,113

Author Associations

28,333

Publication Badges

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