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 17 Jul. 2026.
Previous versions and publish date:
(2026-07-14 04:50), 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)
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

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  
alabama  
Constrained Nonlinear Optimization
Augmented Lagrangian Adaptive Barrier Minimization Algorithm for optimizing smooth nonlinear object ...
Download / Learn more Package Citations See dependency  
VEwaningVariant  
Vaccine Efficacy Over Time - Variant Aware
Implements methods for inference on potential waning of vaccine efficacy and for estimation of vacci ...
Download / Learn more Package Citations See dependency  
VFS  
Vegetated Filter Strip and Erosion Model
Empirical models for runoff, erosion, and phosphorus loss across a vegetated filter strip, given sl ...
Download / Learn more Package Citations See dependency  
rt.test  
Robustified t-Test
Performs one-sample t-test based on robustified statistics using median/MAD (TA) and Hodges-Lehmann/ ...
Download / Learn more Package Citations See dependency  
FastKNN  
Fast k-Nearest Neighbors
Compute labels for a test set according to the k-Nearest Neighbors classification. This is a fast wa ...
Download / Learn more Package Citations See dependency  

27,806

R Packages

239,283

Dependencies

73,837

Author Associations

27,807

Publication Badges

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