High Performance Colour Space Manipulation
Overview
The encoding of colour can be handled in many different ways, using different colour spaces. As different colour spaces have different uses, efficient conversion between these representations are important. The 'farver' package provides a set of functions that gives access to very fast colour space conversion and comparisons implemented in C++, and offers speed improvements over the 'convertColor' function in the 'grDevices' package.
- make sure output channels are always named (#23)
- farver can now decode short version hex-code colours (#41)
- Fix a bug in colour comparison that affected hcl input (#44)
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-25
- ERROR12 OK, 1 ERROR2026-08-20
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-06-27
Show 12 earlier changesHide 12 earlier changes
- ERROR12 OK, 1 ERROR2026-06-24
- OK13 OK2026-05-22
- ERROR12 OK, 1 ERROR2026-05-20
- OK13 OK2026-05-11
- ERROR12 OK, 1 ERROR2026-05-10
- OK13 OK2026-05-02
- ERROR11 OK, 1 ERROR2026-04-25
- NOTE13 OK, 1 NOTE2026-04-18
- ERROR12 OK, 1 NOTE, 1 ERROR2026-04-16
- NOTE13 OK, 1 NOTE2026-03-31
- ERROR12 OK, 1 NOTE, 1 ERROR2026-03-28
- NOTE13 OK, 1 NOTE2026-03-10
Documentation
- Help pages
- 8 (2 internal)includes a package overview page
- Examples that run
- 100%7 run in a plain check
- Exported functions with examples
- 100%
- Documented parameters
- 76%
- Return-value docs
- 100%
- Help pages citing references
- 0%
Downloads
Repository
- PRs merged (all time)
- 83%
- Median days to close, 50 most recently updated closed issues
- 6
- Median days to close, 50 most recently updated closed PRs
- 8
Stars over time
11 development-tooling and community-health practices detected across 6 families in the upstream repository
Checks run against github.com/thomasp85/farver on 2026-10-11.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
GitHub Pages site last deployed 2024-05-13 · The repository has a site deploy workflow
pkgdown site last built 2024-05-13
Show all practicesHide 2 practices
Dependencies
Installing farver adds no packages beyond those that come with R.
Code & Tests
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- 2.1.2Latest
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- 2.1.12022-07-06 · diff ↗
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- 2.1.0
- RR 4.0.0 released · 2020-04-24
- 2.0.32020-01-16 · diff ↗
- 2.0.22020-01-09 · diff ↗
- 2.0.12020-01-10 · diff ↗
- 2.0.02019-11-13 · diff ↗ ·
added 8 exports
add_to_channel, cap_channel, decode_colour, encode_colour, get_channel, multiply_channel, raise_channel, set_channel - RR 3.6.0 released · 2019-04-26
- 1.1.0
Show 2 earlier eventsHide 2 earlier events
- 1.02018-09-17
- RR 3.5.0 released · 2018-04-23
Package metadata
- First published
- 2018-09-17
- Total releases
- 9 / 8 yrs
- License
- MIT + file LICENSE OSI
- Download size
- 1.2 MB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("farver")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-19, which the citation names so these numbers can be found later. More on citing and the projects behind them.