A library for playing with colors in go (golang).
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.
LuvLCh
in code (#51)HexColor
(#42)DistanceLinearRGB
(#53)XYZToLuvWhiteRef
that only applied to very small values was fixed (#51)BlendHCL
output is clamped so that it's not invalid (#46)DistanceCIE76
(#40)Thanks to @benhoyt and @diamondburned
Thanks to @emersion for bringing up the issue and fixing it in #34
Thanks to @SamWhited for taking care of this in #32!
This could be it? :smile_cat:
MakeColor
: instead of panic
ing when alpha is zero, it now returns a secondary, boolean return value indicating success. See the color.Color interface section and this FAQ entry for details.