col2hex2col: Convert Between Color Names and Hex Codes

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.

Version: 0.3.1
Depends: R (≥ 3.5.0)
Suggests: testthat (≥ 3.0.0), gt
Published: 2026-01-21
DOI: 10.32614/CRAN.package.col2hex2col (may not be active yet)
Author: Antti Rask [aut, cre]
Maintainer: Antti Rask <anttilennartrask at gmail.com>
BugReports: https://github.com/AnttiRask/col2hex2col/issues
License: MIT + file LICENSE
URL: https://github.com/AnttiRask/col2hex2col
NeedsCompilation: no
Materials: README, NEWS
CRAN checks: col2hex2col results

Documentation:

Reference manual: col2hex2col.html , col2hex2col.pdf

Downloads:

Package source: col2hex2col_0.3.1.tar.gz
Windows binaries: r-devel: not available, r-release: not available, r-oldrel: not available
macOS binaries: r-release (arm64): col2hex2col_0.3.1.tgz, r-oldrel (arm64): col2hex2col_0.3.1.tgz, r-release (x86_64): col2hex2col_0.3.1.tgz, r-oldrel (x86_64): col2hex2col_0.3.1.tgz

Linking:

Please use the canonical form https://CRAN.R-project.org/package=col2hex2col to link to this page.

mirror server hosted at Truenetwork, Russian Federation.