Skip to content

v1.2.0

Latest
Compare
Choose a tag to compare
@makew0rld makew0rld released this 28 Jan 03:29
· 14 commits to master since this release
Please note the v1.1.0 and v1.2.0 tags have the same code, this new update. The next release of this library will be v1.2.1 or v1.3.0, not anything else.

Hello! I'm the new maintainer of go-colorful. This is the first release its had in a while, adding some new color spaces and fixing some small bugs. Rest assured it's in good hands, and I hope to support all your wonderful work with it for long time.

If you'd like to support go-colorful's development you can support me or Lucas (the original developer) through GitHub Sponsors, check out the Sponsor button up top. I also have a Ko-Fi for one-time donations.

The rest of this message is copied from the CHANGELOG.md file in this repo.

Added

  • HSLuv and HPLuv color spaces (#41, #51)
  • CIE LCh(uv) color space, called LuvLCh in code (#51)
  • JSON and envconfig serialization support for HexColor (#42)
  • DistanceLinearRGB (#53)

Fixed

  • RGB to/from XYZ conversion is more accurate (#51)
  • A bug in XYZToLuvWhiteRef that only applied to very small values was fixed (#51)
  • BlendHCL output is clamped so that it's not invalid (#46)
  • Properly documented DistanceCIE76 (#40)
  • Some small godoc fixes