Skip to content

Latest commit

 

History

History
26 lines (16 loc) · 666 Bytes

CHANGELOG.md

File metadata and controls

26 lines (16 loc) · 666 Bytes

Changelog

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

Removed

Fixed

  • Fix parsing lab() and lch() color format.
  • Update oklab formula.