Skip to content

colorrepel

0.5.2

Repel Visually Similar Colors for Colorblind Users in Various Plots

1packages depend
2.6Kdownloads / year
test coverage
13/13checks pass

Overview

About
Maintained by Rui FuFirst published 2024-09-176 releasesCRAN page ↗GitHub ↗

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.

Install

Health

CRAN checks
13OK
Slowest check: 1.8 min · r-oldrel-windows-x86_64
Code health
None
Tests · ratio 0.00
not tracked
Coverage
100%
Documentation · exports
18
Dependencies · direct
Check history
  • OK2026-08-05
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-06-09
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-06-08
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 285 wordsVignettesNopkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
100%
Return-value docs
100%
References docs
0%

Downloads

2.6K
CRAN downloads in the past year
Rank #13,704 · ~7/day · ~219/mo
Daily download trend is not available in this view yet.
24730 days
74490 days
2.6K1 year
Compare downloads with other packages →
Also on140 r2u22 autocran

Repository

Repository
11Stars
0Forks
4Open issues
0Open PRs
5Releases
124Commits
1Contributors
124 commits · Last activity 2026-08-22 · 0% stars, 30d

Stars over time

2025-02-25 · 102026-07-18 · 11

Repository practices

Upstream repositoryBeta

Checks run against github.com/raysinensis/color_repel on 2026-08-16.

No development-tooling practices detected in the upstream repository.

How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
16 external dependencies (excludes base and recommended)
Depends (1)
R >= 3.5.0
LinkingTo (0)
none
Suggests (1)
Enhances (0)
none
Reverse dependencies
1direct
0indirect

Code & Tests

People & History

People (1)
Maintainer (1)
Maintainer, Author, Copyright holder
Authors (1)
Maintainer, Author, Copyright holder
Copyright holders (1)
Maintainer, Author, Copyright holder
Package Timeline

6 releases. Pick two to compare their code metrics. R releases are shown for context.

  • 0.5.2Latest
    2026-08-22 · current release · diff ↗
  • 0.5.0
    2026-07-14 · diff ↗
  • R
    R 4.6.0 released · 2026-04-24
  • 0.4.3
    2025-07-21 · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • 0.4.1
    2025-01-19 · diff ↗
  • 0.3.0
    2024-09-29 · diff ↗
  • 0.1.0
    2024-09-17
  • R
    R 4.4.0 released · 2024-04-24

Package metadata

First published
2024-09-17
Total releases
6 / 2 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 3.5.0
Download size
1.2 MB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("colorrepel")
Fu, R. (2026). colorrepel: Repel Visually Similar Colors for Colorblind Users in Various Plots (Version 0.5.2) [Computer software]. https://doi.org/10.32614/CRAN.package.colorrepel

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for colorrepel version 0.5.2 [Data set]. HJJB, LLC. Data release v2026-08-22. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-22, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy