go-colorful
go-colorful copied to clipboard
A library for playing with colors in go (golang).
Hey guys! Not really an issue, but rather info about the work I've done to port this library to Swift: https://github.com/mojzesh/swift-colorful It's also available in Swift Package Index: https://swiftpackageindex.com/mojzesh/swift-colorful Have...
xyz -> oklab for draft to fix #54 oklab->xyz failing due to fp inaccuracy (I think?) with calculated matrix inverse. Might have to go through linear rgb for now. Port...
https://github.com/hsluv/hsluv/issues/54 https://github.com/hsluv/hsluv/pull/82 Probably will need updating the hsluv D65 and of course the test files.
Better versions of HSV and HSL. Okhsl is better than HSLuv as well. https://bottosson.github.io/posts/colorpicker/ #54 needs to be completed first
The YIQ colorspace can be useful for quickly measuring the perceived difference between two colors. This is what [odiff](https://github.com/dmtrKovalenko/odiff) uses to measure the difference between images. The README references [this...
An improved CIELAB, because CIELAB and CIELUV perform badly with blue hues, among other issues. https://bottosson.github.io/posts/oklab/
Greetings! I've been experimenting with `go-colorful` and noticed that for the edge cases (`t = 0` and `t = 1`), the resulting colors are actually slightly different from what is...
I'm writing code to bring HSLuv to go-colorful (see #41), and I noticed that term "HCL" is used to refer to the cylindrical transformation of CIELAB. But as [Wikipedia notes](https://en.wikipedia.org/wiki/HCL_color_space),...
Wondering if you're planning on supporting colorspaces with alpha channels?
The GitHub `test` action produces a [warning](https://github.com/lucasb-eyer/go-colorful/actions/runs/10474177618): ``` Restore cache failed: Dependencies file is not found in /home/runner/work/go-colorful/go-colorful. Supported file pattern: go.sum ``` This PR fixes that issue.