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
[Color Picker] Be able to leverage clipboard to transcode between formats #17333
Comments
Seems like #8305 to me. |
I don't see any resemblance at all. #8305 is asking for configurable color formats whilst I'm asking for the editor to pick up a selected color from clipboard when opening it. Obviously, the color from clipboard needs to be in a supported format but the 2 tickets are still targeting 2 completely different features IMHO. Am I missing something here? |
Is the ask here "I want a quick way to show conversions between formats?" Issue with what you are proposing is with what format the alpha would come in as. ARGB and RGBA and there is BGRA ... https://en.wikipedia.org/wiki/RGBA_color_model. CSS is RGBA, XAML IS ARGB. /needinfo |
Yep, I guess it is. Actually, to be a bit more precise:
I'd personally prefer RGBA, as I'm usually coming from "some CSS environment" but I see that hardcoding this could be troublesome. Maybe make this configurable? I guess I could even live without support for alpha values at all here because they're not the important part for the conversion. |
Description of the new feature / enhancement
When opening the color picker without selecting a color first (i.e. from "Open editor" activation behavior), it would be very helpful if it would pick up a HEX color which is saved in the clipboard and use it as the "selected color".
I guess that it would be really hard to support all different color formats in different variations (e.g.
rgb(x, y, z)
vsrgb(x y z)
vsrgb x y z
etc.), so I'm specifically only asking for HEX support here since it's my main use case.When it comes to HEX colors, I can only think of 4 variations which I imagine all to be rather easy to support:
RRGGBB
#RRGGBB
RRGGBBAA
(AA = alpha values)#RRGGBBAA
When recognizing 3 or 4, color picker could IMHO just discard the alpha value as it has no support for it in the UI (as far as I can see).
Scenario when this would be used?
I sometimes have to convert HEX colors to RGB and I'm using ColorCop for this ATM. Since the PT color picker is my main tool for color picking, it would be really convenient to not having to switch tools.
Supporting information
No response
If you'd like to see this feature implemented, add a 👍 reaction to this post.
Thank you for powertoys, your hard work allows me to work more efficiently and is greatly appreciated.
The text was updated successfully, but these errors were encountered: