Provides a comprehensive 'API' for colour conversion between popular colour spaces ('RGB', 'HSL', 'OKLab', 'OKLch', 'hex', and named colours) along with clean, modern 'CSS' Color Level 4 syntax output. Integrates seamlessly into 'Shiny' and 'Quarto' workflows. Includes nearest colour name lookup powered by a curated database of over 30,000 colour names. 'OKLab'/'OKLCh' colour spaces are described in Ottosson (2020) <https://bottosson.github.io/posts/oklab/>. 'CSS' Color Level 4 syntax follows the W3C specification <https://www.w3.org/TR/css-color-4/>.
| Version: | 0.0.1 |
| Depends: | R (≥ 3.5) |
| Imports: | farver, RANN |
| Suggests: | testthat (≥ 3.0.0) |
| Published: | 2026-03-04 |
| DOI: | 10.32614/CRAN.package.colourspace |
| Author: | Yann Cohen [aut, cre] |
| Maintainer: | Yann Cohen <yannco5 at gmail.com> |
| License: | MIT + file LICENSE |
| NeedsCompilation: | no |
| Materials: | README |
| CRAN checks: | colourspace results |
| Reference manual: | colourspace.html , colourspace.pdf |
| Package source: | colourspace_0.0.1.tar.gz |
| Windows binaries: | r-devel: colourspace_0.0.1.zip, r-release: colourspace_0.0.1.zip, r-oldrel: colourspace_0.0.1.zip |
| macOS binaries: | r-release (arm64): colourspace_0.0.1.tgz, r-oldrel (arm64): colourspace_0.0.1.tgz, r-release (x86_64): colourspace_0.0.1.tgz, r-oldrel (x86_64): colourspace_0.0.1.tgz |
Please use the canonical form https://CRAN.R-project.org/package=colourspace to link to this page.
Need a high-speed mirror for your open-source project?
Contact our mirror admin team at info@clientvps.com.
This archive is provided as a free public service to the community.
Proudly supported by infrastructure from VPSPulse , RxServers , BuyNumber , UnitVPS , OffshoreName and secure payment technology by ArionPay.