You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Objective
- Fixes#766
## Solution
- Add a new `Lcha` member to `bevy_render::color::Color` enum
---
## Changelog
- Add a new `Lcha` member to `bevy_render::color::Color` enum
- Add `bevy_render::color::LchRepresentation` struct
What problem does this solve or what need does it fill?
Colors are difficult to read. For example, it's hard to tell that
Color::rgb(0.8, 0.3, 0.7)
is pink.Describe the solution would you like?
Add a LCH color function as well as the HEX colors. The LCH color space allows for colors that are somewhat related to how people actually see it.
Describe the alternative(s) you've considered?
N/A
Additional context
This blog post (https://lea.verou.me/2020/04/lch-colors-in-css-what-why-and-how/) provides a good explanation of what the LCH color space is.
The text was updated successfully, but these errors were encountered: