Skip to content

v0.7.0

Latest
Compare
Choose a tag to compare
@mazznoer mazznoer released this 05 Aug 14:18
· 6 commits to master since this release

Added

  • Color::from_oklcha()
  • Support parsing oklab() and oklch() color format.
  • Color::{from,to}_{laba,lcha}()

Changed

  • f64 -> f32
  • Return type for Color::to_{hsva,hsla,hwba,lab,lch,oklaba,linear_rgba}() changed from tuple to array.
  • Deprecate Color::{from,to}_{lab,lch}(), use Color::{from,to}_{laba,lcha}() instead.
  • NAMED_COLORS is now public