Package: colorrepel
Title: Repel Visually Similar Colors for Colorblind Users in Various
        Plots
Version: 0.4.3
Authors@R: 
    person(given = "Rui",
           family = "Fu",
           role = c("cre", "aut", "cph"),
           email = "raysinensis@gmail.com",
           comment = c(ORCID = "0000-0001-8183-4549"))
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>.
License: MIT + file LICENSE
Encoding: UTF-8
RoxygenNote: 7.3.1
Depends: R (>= 3.5.0)
Imports: grDevices, matrixStats, Matrix, distances, stats, dqrng,
        gtools, purrr, dplyr, plyr, stringr, ggplot2, ggrepel, plotly,
        knitr, png, Polychrome
Suggests: colorspace
URL: https://github.com/raysinensis/color_repel
ByteCompile: true
NeedsCompilation: no
Packaged: 2025-07-21 13:16:53 UTC; rfu
Author: Rui Fu [cre, aut, cph] (ORCID: <https://orcid.org/0000-0001-8183-4549>)
Maintainer: Rui Fu <raysinensis@gmail.com>
Repository: CRAN
Date/Publication: 2025-07-21 13:52:02 UTC
Built: R 4.6.0; ; 2026-04-30 09:14:53 UTC; unix
