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

14.18 score 133 stars 7.7k packages 149 scripts 1.1M downloads 1 mentions 13 exports 0 dependencies

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

TargetResultDate
Doc / VignettesOKNov 16 2024
R-4.5-win-x86_64OKNov 16 2024
R-4.5-linux-x86_64OKNov 16 2024
R-4.4-win-x86_64OKNov 16 2024
R-4.4-mac-x86_64OKNov 16 2024
R-4.4-mac-aarch64OKNov 16 2024
R-4.3-win-x86_64OKNov 16 2024
R-4.3-mac-x86_64OKNov 16 2024
R-4.3-mac-aarch64OKNov 16 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