Package: farver 2.1.2.9000

farver: High Performance Colour Space Manipulation

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.

Authors:Thomas Lin Pedersen [cre, aut], Berendea Nicolae [aut], Romain François [aut], Posit, PBC [cph, fnd]

farver_2.1.2.9000.tar.gz
farver_2.1.2.9000.zip(r-4.5)farver_2.1.2.9000.zip(r-4.4)farver_2.1.2.9000.zip(r-4.3)
farver_2.1.2.9000.tgz(r-4.4-x86_64)farver_2.1.2.9000.tgz(r-4.4-arm64)farver_2.1.2.9000.tgz(r-4.3-x86_64)farver_2.1.2.9000.tgz(r-4.3-arm64)
farver_2.1.2.9000.tar.gz(r-4.5-noble)farver_2.1.2.9000.tar.gz(r-4.4-noble)
farver_2.1.2.9000.tgz(r-4.4-emscripten)farver_2.1.2.9000.tgz(r-4.3-emscripten)
farver.pdf |farver.html
farver/json (API)
NEWS

# Install 'farver' in R:
install.packages('farver', repos = c('https://thomasp85.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/thomasp85/farver/issues

Uses libs:
  • c++– GNU Standard C++ Library v3

On CRAN:

color-conversion

13 exports 126 stars 19.00 score 0 dependencies 7412 dependents 1 mentions 153 scripts 835.2k downloads

Last updated 4 months agofrom:aa5b136e8c. Checks:OK: 9. Indexed: yes.

TargetResultDate
Doc / VignettesOKAug 30 2024
R-4.5-win-x86_64OKAug 30 2024
R-4.5-linux-x86_64OKAug 30 2024
R-4.4-win-x86_64OKAug 30 2024
R-4.4-mac-x86_64OKAug 30 2024
R-4.4-mac-aarch64OKAug 30 2024
R-4.3-win-x86_64OKAug 30 2024
R-4.3-mac-x86_64OKAug 30 2024
R-4.3-mac-aarch64OKAug 30 2024

Exports:add_to_channelas_white_refcap_channelcompare_colourconvert_colourdecode_colourdecode_nativeencode_colourencode_nativeget_channelmultiply_channelraise_channelset_channel

Dependencies:

Readme and manuals

Help Manual

Help pageTopics
Calculate the distance between colourscompare_colour
Convert between colour spacesconvert_colour
Decode RGB hex-strings into colour valuesdecode_colour
Encode colours into RGB hex-stringsencode_colour
Modify colour space channels in hex-encoded colour stringsadd_to_channel cap_channel get_channel manip_channel multiply_channel raise_channel set_channel
Convert to and from the R native colour representationdecode_native encode_native native-encoding