Skip to content

col2hex2col

0.5.3

Convert Between Color Names and Hex Codes

0packages depend
1.4Kdownloads / year
85.9%test coverage
13/13checks pass

Overview

About
Maintained by Antti RaskFirst published 2026-01-212 releasesCRAN page ↗GitHub ↗

Provides simple functions to convert between color names and hexadecimal color codes using an extensive database of over 32,000 colors. Includes all 657 R built-in colors plus the comprehensive color-names database. The package supports bidirectional conversion with backward compatibility, prioritizing R colors when available.

Install

Health

CRAN checks
13OK
Slowest check: 56 s · r-oldrel-windows-x86_64
Code health
Yes
Tests · ratio 0.79
85.9%
Coverage · measured lines
100%
Documentation · exports
0
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-07-18
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-07-16
    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 · 455 wordsVignettesNopkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
100%
Return-value docs
100%
References docs
0%

Downloads

1.4K
CRAN downloads in the past year
Rank #20,921 · ~4/day · ~120/mo
Daily download trend is not available in this view yet.
15430 days
52690 days
1.4K1 year
Compare downloads with other packages →
Also on69 r2u18 autocran

Repository

Repository
3Stars
0Forks
1Open issues
0Open PRs
11Releases
69Commits
3Contributors
69 commits · Last activity 2026-06-01 · 0% stars, 30d

Stars over time

2026-01-04 · 12026-07-07 · 3

Repository practices

Upstream repositoryBeta

2 development-tooling and community-health practices detected across 2 families in the upstream repository

Checks run against github.com/anttirask/col2hex2col on 2026-08-16.

Continuous integration (1)
GitHub Actions
Reproducibility and dev environment (1)
data-raw/
How this is detected·Detection ruleset v1 (2026-07-18)

Development tooling

AI-assisted toolingBeta

Uses AI-assisted development tooling (declared in repo)

Earliest detected marker: claude on 2026-01-04

claude

Most recent: claude on 2026-01-04

Evidence
  • claude: on 2026-01-04 · evidence B, D
How this is detected·Detection ruleset v2 (updated 2026-07-29)

Dependencies

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

Nothing depends on this yet.

Code & Tests

People & History

People (2)
Maintainer (1)
Author, Maintainer, Copyright holder
Authors (1)
Author, Maintainer, Copyright holder
Contributors (1)
Contributor · added in 0.5.3
Copyright holders (1)
Author, Maintainer, Copyright holder
Package Timeline

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

  • R
    R 4.6.0 released · 2026-04-24
  • 0.5.3Latest
    2026-02-18 · current release · diff ↗
  • 0.3.1
    2026-01-21
  • R
    R 4.5.0 released · 2025-04-11

Package metadata

First published
2026-01-21
Total releases
2 / 1 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 3.5.0
Download size
711 KB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("col2hex2col")
Rask, A., & Cohen, Y. (2026). col2hex2col: Convert Between Color Names and Hex Codes (Version 0.5.3) [Computer software]. https://doi.org/10.32614/CRAN.package.col2hex2col

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 col2hex2col version 0.5.3 [Data set]. HJJB, LLC. Data release v2026-08-18. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-18, 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