Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Specify colors via LCH instead of standard sRGB #815

Open
LukasKalbertodt opened this issue May 10, 2023 · 0 comments
Open

Specify colors via LCH instead of standard sRGB #815

LukasKalbertodt opened this issue May 10, 2023 · 0 comments
Labels
area:backend Everything backend related area:frontend Everything frontend related kind:improvement priority:low Low priority

Comments

@LukasKalbertodt
Copy link
Member

In #796 colors were reworked. Internally we use LCH. But when sending it to the browser, we convert it to sRGB hex strings. But browser support for specifying LCH directly pretty good, though we should still wait a bit.

Directly specifying LCH means that we don't need a stupid "LCH to closest sRGB" algorithm and that Tobira installations can use more vibrant colors, especially in combination with #814

@LukasKalbertodt LukasKalbertodt added area:backend Everything backend related area:frontend Everything frontend related kind:improvement priority:low Low priority labels May 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:backend Everything backend related area:frontend Everything frontend related kind:improvement priority:low Low priority
Projects
None yet
Development

No branches or pull requests

1 participant