oklch
1.0.1, released 6 months ago by turingdeal.com
Encode, decode, and pick colors using the OKLCH color space in Flutter apps.
WASM-ready
What it does
It converts colors between RGB and the OKLCH color space, supports OKLABColor, color mixing, and provides an OKLCH-based color picker widget.
AI-written summary of version 1.0.1, based on the package's README and metadata. Report an inaccuracy
Use it when
- You want to use the OKLCH color space for modern color palettes.
- You need a color picker based on OKLCH.
Skip it when
- You require exact color matching with the official lch.oklch.com reference site.
- You only need standard Material color pickers.
Strengths
- Provides OKLCH to RGB and RGB to OKLCH conversions.
- Includes a built-in OKLCH color picker widget.
- Supports alpha channel on OKLCH.
Weaknesses
- Does not currently give the exact same results as the official website reference.
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
not documented
not documentedAlternatives
Packages that do the same job and could replace oklch.
- flutter_colorpicker
If you need a more established, traditional color picker widget.
50Compare - flex_color_picker
If you need an extensive color picker with many built-in themes and color spaces.
84Compare