You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was reading through the CSS level 4 color module to see what's coming up and came across a new color model: HWB. It was a total love at first sight. It works allowing you to select a hue and then mix in whiteness and blackness.
Support for it in this library would be great.
The text was updated successfully, but these errors were encountered:
Huh! Looks like it's already quite common, since it's used in the triangle color wheel, and the future inclusion in CSS makes this even more interesting. The implementation looks simple enough, so I'll schedule it for 0.2.1.
Add hwb color
Added support for HWB color model.
Added tests, implemented Alpha, ApproxEq, FromColor and IntoColor traits and added to color enum.
closes#32
I was reading through the CSS level 4 color module to see what's coming up and came across a new color model: HWB. It was a total love at first sight. It works allowing you to select a hue and then mix in whiteness and blackness.
Support for it in this library would be great.
The text was updated successfully, but these errors were encountered: