PowerToys icon indicating copy to clipboard operation
PowerToys copied to clipboard

Color Picker wrong hex value

Open nilvanlopes opened this issue 1 year ago • 8 comments

Microsoft PowerToys version

0.68.1

Installation method

Microsoft Store

Running as admin

Yes

Area(s) with issue?

ColorPicker

Steps to reproduce

Using win-shift-c image The color picker does not return the correct value when selecting the colors in hexadecimal, it always returns a lighter value. Anywhere in the system.

✔️ Expected Behavior

the correct value of the color

❌ Actual Behavior

returns a fainter color

Other Software

No response

nilvanlopes avatar Mar 31 '23 04:03 nilvanlopes

I found that this only occurs on my main monitor. An AOC Agon 32, connected by displayport on an AMD RX6700XT. I reset the monitor settings on Windows and on the monitor itself, with no results. On my LG TV 4k the result goes as expected the hexadecimal value shown presents the value I wrote. Also on my secondary screen full hd. I think something in the displayport is causing this result. Because the 2 secondary screens are connected in hdmi.

nilvanlopes avatar Mar 31 '23 05:03 nilvanlopes

I don't think it's a matter of the receiving hardware, but more likely: Do you have any kind of software on your device that could adjust the color? Like https://github.com/microsoft/PowerToys/issues/11585

Jay-o-Way avatar Mar 31 '23 19:03 Jay-o-Way

AMD Adrenalin Software, or Windows. I checked the settings and the difference is only in this part image image I switched to the same setting for all screens, but the colors are correct only on the secondary screen (which is connected in hdmi)

nilvanlopes avatar Apr 02 '23 03:04 nilvanlopes

Okay. I never use things like this, so I'm guessing here... Maybe it has something to do with the color format (RGB versus Ypbpr) or the bits per pixel (8 versus 10). If that is not it, I don't know. Maybe @martinchrzan ?

Jay-o-Way avatar Apr 02 '23 09:04 Jay-o-Way

@Jay-o-Way The point is, even leaving the settings like the screen 2 (8 BPC and YCbCr 4:4:4), does not change anything, the color picker still returns the wrong value. And I can't imagine that another program could be affecting the colors of the screen. And only on a monitor.

nilvanlopes avatar Apr 02 '23 19:04 nilvanlopes

I got the same problem. Windows 11 x64 latest build (same on Win 10 latest build), AMD Radeon 6600, hardware calibrated profile for my AOC monitor (which should not be relevant I guess). See screenshots. This really sucks, since I do a lot of stuff designing and editing ... I was glad to have that power toys feature, but if it's broken, well ... ryder203_screenshot-2023-05-09 17_14_43 ryder203_screenshot-2023-05-09 17_14_34 ryder203_screenshot-2023-05-09 17_14_17

ghost avatar May 09 '23 15:05 ghost

I was trying to fix RX6700XT error of black screen and blue screen, computer crashing and etc. I took advantage that I bought a new ssd and formatted the pc, after much research I found that windows was overwriting the AMD video driver that I installed by adrenalin. I disabled windows update, in windows policies, following some tutorials that I do not remember anymore and oddly enough it seems the wrong color error by powertoys was fixed.

nilvanlopes avatar May 13 '23 03:05 nilvanlopes

Same issue here, but on V 0.70.0 and using intel Iris Xe integrated graphics on the latest driver. If I color-pick a website, the color does not match the actual hex code in the HTML file. (Edit: it fixed itself somehow) (Edit 2: it did not, lighter colors it has issue with, but deep colors it doesn't)

AbhiMayadam avatar May 29 '23 12:05 AbhiMayadam

Still an issue on v0.72.0 and Windows 10. I wanted to convert a colour from the google colour picker to a custom format but noticed that the powertoys value is always darker and sometimes a different shade - in some instances all of the rbg values are lower, but in some other cases one of them is slighly higher than it should while the rest is lower. I don't think I've ever touched any colour settings on my screen. image image

Pandicon avatar Aug 05 '23 20:08 Pandicon

@Pandicon I don't know what the app you are using, but the two colored dots in each image: they have a different color. I think the bottom rainbow line is only to pick a base color, and the 2D area above that is to pick a specific shade. The values that are show are the colors of the dots in the rainbow row, not the actual picked color. I bet the app you are using is the problem here.

Jay-o-Way avatar Sep 02 '23 14:09 Jay-o-Way

@nilvanlopes Have you tried turning off FreeSync, and tried different color pickers/creators?

Jay-o-Way avatar Sep 02 '23 14:09 Jay-o-Way

@Pandicon I don't know what the app you are using, but the two colored dots in each image: they have a different color. I think the bottom rainbow line is only to pick a base color, and the 2D area above that is to pick a specific shade. The values that are show are the colors of the dots in the rainbow row, not the actual picked color. I bet the app you are using is the problem here.

The base app used in the example is the colour picker that comes up when you Google "#000000". The big rectangle on the left actually shows the chosen colour, else it would be quite useless. And I launched the powertoys colour picker, hovered my mouse above the big rectangle, and the hex value shown from the powertoys tool was different from the one the Google tool was saying it was showing. I tried it with multiple colour pickers but decided to post screenshots from the Google one because I felt it has the biggest authority out of the ones I tried (it is the one I would most expect to work correctly on a wide variety of devices).

Pandicon avatar Sep 03 '23 00:09 Pandicon

@nilvanlopes Have you tried turning off FreeSync, and tried different color pickers/creators?

think it's a error related to windows update and amd drivers, i formatted the pc and the error not occur anymore.

nilvanlopes avatar Mar 16 '24 02:03 nilvanlopes

@nilvanlopes I found that this only occurs on my main monitor. An AOC Agon 32

It seems like your main monitor is HDR-capable (at least from what I could find online since it seems like AOC no longer offers detailed information about that specific display). Could it be possible that you have HDR enabled in your Windows settings and adjusted your SDR brightness balance? Since I don't have an HDR monitor myself, could you try disabling HDR and check if that resolves the issue? To turn off HDR, navigate to Settings > System > Display and turn off HDR (see image below).

Source: https://uk.pcmag.com/monitors/138652/in-windows-hdr-can-make-games-and-video-pop-heres-how-to-get-it-going (Source: https://i.pcmag.com/imagery/articles/02nD3uGfHfM8RGbluOJc0c8-15.png from article https://uk.pcmag.com/monitors/138652/in-windows-hdr-can-make-games-and-video-pop-heres-how-to-get-it-going)

Alternatively, follow the instructions from HDR settings in Windows - Microsoft Support.

vexplained avatar May 29 '24 13:05 vexplained