Skip to content

Releases: thomasp85/farver

farver 2.1.2

13 May 09:29
8663fa9
Compare
Choose a tag to compare
  • 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)

farver 2.1.1

06 Jul 17:48
Compare
Choose a tag to compare
  • Added input checking to a range of functions to guard against segfaults with
    empty input (#31)

farver 2.1.0

28 Feb 19:23
Compare
Choose a tag to compare
  • Added support for OKLab and OKLch (polar version of OKLab) colour spaces
  • Added encode_native() and decode_native() to convert back and forth
    between the internal R colour format.

farver 2.0.3

16 Jan 13:41
Compare
Choose a tag to compare
  • Fixed a bug in colour comparison where the blue channel got ignored
    (#20, @krlmlr)
  • Allowing "NA" and "transparent" as valid colour names
  • How NA should be treated can now be set in all functions accepting colour
    names
  • farver now accepts legacy colour specifications as integers indexing into
    palette() as well as integers represented as characters

farver 2.0.2

09 Jan 08:49
6313d68
Compare
Choose a tag to compare
  • Small adjustments to support super weird architectures (#15, #16)
  • decode_colour() now allows you to specify how NA should get interpreted
  • Fixed a major bug in colour comparison
  • Colour names are now stripped of whitespace and converted to lower-case before
    conversion, making it behave like col2rgb()
  • A warning is now emitted if an unknown colour name is passed into any decoding
    function

farver 2.0.1

14 Nov 08:06
9c6f3f3
Compare
Choose a tag to compare
  • Fixed symbol remapping issues on Solaris
  • UPPER and Title case for colour names are now supported alongside lower case

farver 2.0.0

13 Nov 18:34
78aa6db
Compare
Choose a tag to compare
  • Added a NEWS.md file to track changes to the package.
  • Remove Rcpp dependency for faster compilation. (#6)
  • Add support for Lch(uv) (Hcl) for parallel to grDevices::hcl() (#9)
  • Add encode_colour() for converting colours in any colourspace into #RRGGBB
    format (#7)
  • Add decode_colour() for converting hexstrings into any colourspace
  • Fix bug in luv conversion where 0 in the l channel resulted in NaN results
    (#12)
  • Provide a family of channel manipulation functions to directly manipulate
    encodes strings