update palette to 0.6 - #117
Conversation
Updates palette to 0.6 in the dependency list in Cargo.toml and ports colors.rs to the 0.6 conversion changes. Signed-off-by: Link Dupont <link@sub-pop.net>
|
This seems to result in the same hue and saturation numbers displaying a somewhat different color than before. I'm not entirely sure if that's purely an issue with this PR, or if the code is already kind of wrong in how it handles sRGB vs linear RGB. Or I guess palette was also doing things wrong from this quite in the 0.6 release notes:
Dealing with linear and non-linear RGB seems to be surprisingly hard to get right and something software often messes up... |
|
Yea, |
Updates palette to 0.6 in the dependency list in Cargo.toml and ports
colors.rs to the 0.6 conversion changes.
Fixes: #115