Colourful
Colourful copied to clipboard
🎨 Open source .NET library for working with color spaces.
- some interesting example usages, e.g.: - xy to RGB conversion - generating a horseshoe diagram - adjusting white balance - performing gamma correction - blurring an image in linear...
- Note: Mentioned issue in topic-conversion.md.
Currently, we use Kim, et. al. Besides Robertson's, there's also McCamy, or Javier Hernandez-Andres, see: https://en.wikipedia.org/wiki/Color_temperature#Approximation See: http://www.brucelindbloom.com/index.html?Eqn_XYZ_to_T.html See also: https://en.wikipedia.org/w/index.php?title=Template:Color_temperature&action=edit --- Note: Issue mentioned in https://github.com/tompazourek/Colourful/blob/vnext/docs/topic-cct.md
- Currently, the `NormalizeIntensity` method is needed for RGB. Can this be done automatically?
- Note: We could also have formatting into the hex string (e.g. `#FFC000`)
It can be useful when we only care about the chromaticity, not the intensity. It's implemented as follows: - find the max channel - divide all channels by the max...
- https://bottosson.github.io/posts/oklab/ - https://news.ycombinator.com/item?id=25525726
Reference: http://jcgt.org/published/0002/02/01/paper.pdf