View on Asset Store (opens in new tab)
Package details
- Latest version
- 1.2.0
- Last updated
- First released
- Unity version
- 6000.3.1 or later
- Package size
- 94 KB
- Files
- 26
- Favorites
- 1
- Views in the past week
- 8
Price tracking
- Last checked
- Tracked since
- Lowest recorded
- $14.99 on
Keywords
DAWG Tools - OKlab Color Inspector PRO
- Price drop
Perceptual color tools for Unity. Design, compare, and validate color transitions using OKLab instead of RGB to avoid muddy gradients, hue drift, and accessibility issues in UI and theme systems.
Lowest recorded price
Get 50% off on Asset Store (opens in new tab)Affiliate link · Purchases support this site
Price history
Last 6 months
USDAsset preview
1 / 3
DAWG Tools - OKlab Color Inspector PRO screenshot 1
About this asset
DAWG Tools - OKLab Color Inspector PRO - Perceptual Color Tools for Unity
Unity’s default Color.Lerp interpolates colors in RGB component space.
For UI and theme transitions, this often results in:
- Desaturated or “dirty” midpoints
- Perceived brightness dips
- Unintended hue shifts
- Inconsistent animation quality
The OKLab color space is designed so that distance and interpolation better match human perception.
This tool makes the difference visible, measurable, and actionable inside the Unity Editor.
OKLab interpolation produces smoother, visually consistent gradients and transitions because it operates in a perceptual color space rather than raw RGB component space.
Instead of guessing how a transition will look, you can:
- Compare Gamma RGB vs Linear RGB vs OKLab interpolation
- Inspect perceptual midpoints
- Measure ΔE distance between colors
- Validate contrast compliance before shipping
https://www.youtube.com/watch?v=d2r_vcSw5fU - OKLab Color Inspector PRO live action in DAWG - Digital Audio Workstation Game.
1. Typical Workflow
- Select two UI colors (e.g., Normal → Hover).
- Compare Unity RGB interpolation against OKLab interpolation.
- Inspect midpoint, hue drift, chroma, and contrast.
- Replace Color.Lerp with OKLabColor.Lerp in runtime code.
2. Who It’s For:
- UI / UX engineers
- Technical artists
- Tools programmers
- Teams implementing dynamic themes
- Developers who care about visual polish and accessibility
3. WHAT'S INCLUDED
Interpolation Comparison
Side-by-side preview of:
- Unity RGB (Gamma)
- Linear RGB
- OKLab interpolation
Instantly see how transitions differ visually and mathematically.
Perceptual Metrics
- ΔE (perceptual distance measurement)
- Live midpoint inspection
- Chroma comparison
- OKLab component breakdown (L, a, b)
- Hue angle visualization
Accessibility & Contrast Tools
- WCAG contrast ratio calculation
- AA / AAA / Large-text thresholds
- Automatic best-text color suggestion
- Contrast validation against background colors
Computed correctly in linear luminance space.
OKLab Utilities
- OKLabColor.Lerp runtime helper
- OKLab decomposition per color
- Copy helpers (Hex, OKLab values)
- Lock Lightness (L)Optional perceptual constraints:
Lock Chroma (C)
From the publisher's Asset Store listing.
Technical details
Technical Details
- Unity 2021.3 LTS or newer
- Built-in, URP, and HDRP compatible
- Editor-focused tool (no runtime dependencies required)
- Clean namespace: DawgTools.OKLab
- Implementation follows Björn Ottosson’s reference specification
- Contrast computed using correct linear RGB luminance
Runtime Integration
At runtime, simply replace:
Color.Lerp(a, b, t);
With:
OKLabColor.Lerp(a, b, t);
Use perceptual interpolation only where it matters — UI transitions, theme blending, animated color states.
Designed For
- UI animation systems
- Theme engines
- Accessibility-conscious projects
- Design-heavy applications
- Production workflows requiring visual consistency
License
Licensed under the Unity Asset Store EULA.
Compatibility
| Unity version | Built-in | URP | HDRP | Custom |
|---|---|---|---|---|
| 6000.3.1f1 | Compatible | Compatible | Compatible | Compatible |
As listed on the Asset Store.