How to see LCH colour previews in VSC?

Is there any way to get colour previews for the new(ish) LCH colours? Ideally I could also click-convert them to the other respective colourspaces, as VSC handily allows (for the colour spaces it supports!) Even an online webapp to do this would help, which I can't seem to find. Many thanks in advance.
No description
16 Replies
posix
posixOPβ€’11mo ago
Okay sometimes just changing one search term does the trick: https://lch.oklch.com/ https://css.land/lch/ https://luncheon.github.io/lch-color-wheel/ But how to get a preview into VSC? I suppose it might not be possible yet.
b1mind
b1mindβ€’11mo ago
yea I don't see support for it from the default color picker, you can find few different extensions that do though.
b1mind
b1mindβ€’11mo ago
GitHub
[css] Add new CSS color functions Β· Issue #165207 Β· microsoft/vscode
CSS Color Modules 4 added many new color functions. This spec already Candidate Recommendation Draft and was implemented in Safari 15 without any flags. We already have a few articles about the mos...
b1mind
b1mindβ€’11mo ago
Also for future reference this post is probably better for #os-and-tools πŸ‘
posix
posixOPβ€’11mo ago
Thanks a lot πŸ™ That extension is not yet available, right?
posix
posixOPβ€’11mo ago
This is a great read on the topic btw πŸ™‚ https://evilmartians.com/chronicles/oklch-in-css-why-quit-rgb-hsl
evilmartians.com
OKLCH in CSS: why we moved from RGB and HSLβ€”Martian Chronicles, Evi...
CSS Color Module 4 adds oklch(), and we gain P3 wide-gamut support, boost code readability, and improve developer-designer communication.
b1mind
b1mindβ€’11mo ago
that is the issue/pr someone was making not an extension as you see its kinda stale, so post and help bump it maybe. (oh someone did recently reply) Seems like most the color picker extensions I pulled up all support it, so its just up to you to find one you like.
posix
posixOPβ€’11mo ago
I just did 😎 How do you find them? I'm so hopeless at searching for things on Github
b1mind
b1mindβ€’11mo ago
or search right in vscode is what I do ctrl+shift+x
posix
posixOPβ€’11mo ago
Has nothing I'm afraid
No description
posix
posixOPβ€’11mo ago
That extension seems to be for something else. But that's okay.
b1mind
b1mindβ€’11mo ago
no search for Color picker that is what you are looking at in vscode or color highlighter depending on what functionality you want
posix
posixOPβ€’11mo ago
There are tons. You're saying I need to just look through them all to make sure they support LCH? I'm not super optimistic if a search for "LCH" yields nothing.
b1mind
b1mindβ€’11mo ago
Color Info - Visual Studio Marketplace
Extension for Visual Studio Code - Provides quick information about css colors
b1mind
b1mindβ€’11mo ago
I mean LCH could mean so many things mate not a great search term gotta learn how to narrow things down, on what they are called πŸ˜„
Want results from more Discord servers?
Add your server