DevToys-app / DevToys

A Swiss Army knife for developers.
https://devtoys.app/
MIT License
27.05k stars 1.46k forks source link

Add an RGB/Hex color picker #93

Closed veler closed 2 years ago

veler commented 2 years ago

Is your feature request related to a problem? Please describe. As a user who works with colors, I need an easy to use, yet powerful RGB/Hex color picker.

Describe the solution you'd like We can add through one or several tools:

Technical Aspect

Arlodotexe commented 2 years ago

Just throwing this in here https://color.adobe.com/create/color-wheel

KillyMXI commented 2 years ago

https://github.com/microsoft/PowerToys has an on-screen color picker which can serve as an example for picks history. And for different color formats.

For in-app color selector control:

Since this is not a graphics editor, I would be happy with separate sliders though, as long as I can have them for any color format I need.

Why I'm looking for a good in-app color manipulation tool - sometimes I have an RGB or even single decimal color value and I need to produce lighter/darker color. So I want to be able to:

Other notes:

expikr commented 2 years ago

Would also be nice to lookup HTML color names and vice versa

jwfxpr commented 2 years ago

As mentioned above, this functionality is already well implemented and developed in other tools like PowerToys. Is there really a need to duplicate functionality from tools that most of us are already using? Does implementing this in DevToys offer an advantage over other color pickers that are readily available and well made?

KillyMXI commented 2 years ago

PowerToys doesn't do what I need though.

When I need to pick a color from screen, weirdly enough, I prefer to Alt+PrnScr, Paste to Paint.NET and have the screenshot around to pick different things. (Why using a boring list of colors when one can have a reference image as a palette. It automatically keeps context for every color.)

PowerToys don't allow to modify the color. Paint.NET only has HSV and the developer is too busy with the internals to look at the color window or any other UX things.

I often had to google "HSL online" and use that horrible page that does what I need (move that Lightness slider) but in rather unpleasing way. Every time I think I should probably make my own, but then I'm not using it frequently enough to bother.

Now I went to AlternativeTo.net to look for decent color pickers. I think this one is pretty cool: https://alternativeto.net/software/free-color-picker/about/ ( GitHub https://github.com/jackdp/Free-Color-Picker ) Albeit it feels somewhat over-engineered, while missing on obvious relevant features (it has a gradient tool which doesn't specify in what color space the gradient is generated...).

There is still a room for a better, more convenient tool. For DevToys it's just a matter of defining the scope - what is a "good-enough" tool to have in a swiss army knife to cover most use cases. I wouldn't bother to keep specialized tools if it can do just what I need.

expikr commented 2 years ago

Maybe this could be combined with the colourblindness simulator to make a more generalized "color visibility analyzer"?