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 06 Mar. 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

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  
DatabionicSwarm  
Swarm Intelligence for Self-Organized Clustering
Algorithms implementing populations of agents that interact with one another and sense their environ ...
Download / Learn more Package Citations See dependency  
lbfgs  
Limited-memory BFGS Optimization
A wrapper built around the libLBFGS optimization library by Naoaki Okazaki. The lbfgs package implem ...
Download / Learn more Package Citations See dependency  
mlr3viz  
Visualizations for 'mlr3'
Visualization package of the 'mlr3' ecosystem. It features plots for mlr3 objects such as tasks, le ...
Download / Learn more Package Citations See dependency  
solitude  
An Implementation of Isolation Forest
Isolation forest is anomaly detection method introduced by the paper Isolation based Anomaly Detecti ...
Download / Learn more Package Citations See dependency  
openxlsx  
Read, Write and Edit xlsx Files
Simplifies the creation of Excel .xlsx files by providing a high level interface to writing, stylin ...
Download / Learn more Package Citations See dependency  

26,264

R Packages

223,360

Dependencies

70,244

Author Associations

26,265

Publication Badges

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