You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When you are using the EyeDropper API to pick a color on Gnome Linux devices you will get back rgba(8, 103, 210, 0) instead of #0867d2. It's strange that the value also has 0% opacity.
This is the code I'm using:
asyncfunctionstartEyeDropper(): Promise<string|null>{consteyeDropper=newEyeDropper()try{constresult=awaiteyeDropper.open()returnresult.sRGBHex// <- should return hex code}catch(e){returnnull}}
Current behavior
Gives back rgba string format rgba(8, 103, 210, 0).
When you are using the EyeDropper API to pick a color on Gnome Linux devices you will get back rgba(8, 103, 210, 0) instead of #0867d2. It's strange that the value also has 0% opacity.
Summary
When you are using the EyeDropper API to pick a color on Gnome Linux devices you will get back
rgba(8, 103, 210, 0)
instead of#0867d2
. It's strange that the value also has 0% opacity.This is the code I'm using:
Current behavior
Gives back rgba string format
rgba(8, 103, 210, 0)
.Expected behavior
Should give back hex format (as name of property says)
#0867d2
The text was updated successfully, but these errors were encountered: