Package: colorrepel
Title: Repel Visually Similar Colors for Colorblind Users in Various
        Plots
Version: 0.5.2
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
Roxygen: list(markdown = TRUE)
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, mascarade
Suggests: colorspace
URL: https://github.com/raysinensis/color_repel
ByteCompile: true
Config/pak/sysreqs: cmake libfontconfig1-dev libfreetype6-dev make
        libicu-dev libpng-dev libuv1-dev libssl-dev
Repository: https://raysinensis.r-universe.dev
Date/Publication: 2026-08-22 05:00:18 UTC
RemoteUrl: https://github.com/raysinensis/color_repel
RemoteRef: HEAD
RemoteSha: eeda8e61295db0379f9dae967b926126727c00cf
NeedsCompilation: no
Packaged: 2026-09-21 09:44:35 UTC; root
Author: Rui Fu [cre, aut, cph] (ORCID: <https://orcid.org/0000-0001-8183-4549>)
Maintainer: Rui Fu <raysinensis@gmail.com>
