Package: colourspace
Title: Convert from One Colour Space to Another, Print a Ready-to-Paste
Modern 'CSS' Syntax
Version: 0.1.1
Authors@R: c(
person(
given = "Yann",
family = "Cohen",
role = c("aut", "cre"),
email = "yannco5@gmail.com",
comment = c(ORCID = "0009-0009-0509-3609")
)
)
Description: 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)
. 'CSS' Color Level 4
syntax follows the W3C specification
.
License: MIT + file LICENSE
URL: https://github.com/iamyannc/colourspace
BugReports: https://github.com/iamyannc/colourspace/issues
Language: en-GB
Encoding: UTF-8
Roxygen: list(markdown = TRUE)
RoxygenNote: 7.3.3
Config/testthat/edition: 3
Depends: R (>= 3.5)
LazyData: true
Imports: farver, RANN
Suggests: testthat (>= 3.0.0)
Repository: https://iamyannc.r-universe.dev
Date/Publication: 2026-03-27 03:06:51 UTC
RemoteUrl: https://github.com/iamyannc/colourspace
RemoteRef: HEAD
RemoteSha: 6996fd82ecfd4ce55e6974ea2062c91af599eaf2
NeedsCompilation: no
Packaged: 2026-10-22 06:45:20 UTC; root
Author: Yann Cohen [aut, cre] (ORCID: )
Maintainer: Yann Cohen