Skip to main content

oklab 0.0.1 copy "oklab: ^0.0.1" to clipboard
oklab: ^0.0.1 copied to clipboard

Oklab color space implementation.

0.0.1 #

  • Initial release with Oklab and Oklch support.
  • Added immutable OklabColor and OklchColor models with normalization.
  • Added conversions:
    • sRGB <-> Oklab
    • Oklab <-> Oklch
    • RGB tuple projection API via toRgb()
  • Added hue handling behavior for achromatic colors (hue = null when powerless).
  • Added interpolation APIs (lerp) and value helpers (copyWith, equality, hashCode).
  • Added test coverage for conversion accuracy, round-trips, normalization, and edge cases.
  • Added gamut helpers
0
likes
140
points
54
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Oklab color space implementation.

Repository (GitHub)
View/report issues

License

MIT (license)

More

Packages that depend on oklab