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 18 Sep. 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

data360r  
Wrapper for 'TCdata360' and 'Govdata360' API
Makes it easy to engage with the Application Program Interface (API) of the 'TCdata360' and 'Govdat ...
Download / Learn more Package Citations See dependency  
r2resize  
In-Text Resize for Images, Tables and Fancy Resize Containers in 'shiny', 'rmarkdown' and 'quarto' Documents
Automatic resizing toolbar for containers, images and tables. Various resizable or expandable contai ...
Download / Learn more Package Citations See dependency  
hmeasure  
The H-Measure and Other Scalar Classification Performance Metrics
Classification performance metrics that are derived from the ROC curve of a classifier. The package ...
Download / Learn more Package Citations See dependency  
downlit  
Syntax Highlighting and Automatic Linking
Syntax highlighting of R code, specifically designed for the needs of 'RMarkdown' packages like 'pk ...
Download / Learn more Package Citations See dependency  
injectoR  
R Dependency Injection
R dependency injection framework. Dependency injection allows a program design to follow the depend ...
Download / Learn more Package Citations See dependency  
eyelinker  
Import ASC Files from EyeLink Eye Trackers
Imports plain-text ASC data files from EyeLink eye trackers into (relatively) tidy data frames for ...
Download / Learn more Package Citations See dependency  

28,565

R Packages

239,283

Dependencies

75,677

Author Associations

28,566

Publication Badges

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