Re:Closing a 30 pixel gap between native and web
by n8cpdx on Tuesday September 27, 2022 @09:43PM
(#33003359)
This one looks pretty solid. There are loads of them. The demos I’ve seen all showcase live feedback.
https://superguigui.github.io/simple-color-picker/
Compare to the best I can find for WPF: https://github.com/dsafa/wpf-color-picker - no live feedback, dialog only, no documented support for modern .NET. There are some commercial controls available from syncfusion and the like if you want to pay for such things.
Compare to color dialog in WinForms: https://github.com/Kinnara/ModernWpf/issues/72
WinUI has a decent color picker, but there are other trade offs going with WinUI that make it inferior to the web environment (e.g. broken rendering of SVG/paths).
What is a decent color picker? Everybody's idea about that is different so basically no 2 websites use the same color picker. In fact, this paper [1] found that the kind of picker (RGB vs HSV, etc...) doesn't really matter, but that better feedback made the difference. So will we get instant feedback from our color pickers now (for example text immediately turning into the color selected)? No, because designers design how they think it should look and feel, not based on how people actually interact with applications.
[1] https://www.researchgate.net/publication/220183526_Model_and...