mirror of
https://github.com/NickeManarin/ScreenToGif.git
synced 2026-04-26 07:35:54 +03:00
[GH-ISSUE #330] Color picker is inaccurate when placing in HEX values #274
Labels
No labels
copy cats
duplicated
future feature
pull-request
⬜ Accepted
⬜ Completed
⬜ Help Wanted 💪
⬜ In Progress
⬜ Missing Details
⬜ Pending
⬜ Waiting For Answer ⏳
🆕 feature preview
🔷 Bug 🐛
🔷 Out Of Scope
🔷 Out Of Scope
🔷 Question
🔷Enhancement
🔷Enhancement
🔷Invalid / External
🔷Knowledge Base
🔷Won't Fix
🕑 High
🕑 High
🕑 High
🕕 Medium
🕙 Low
🕛 Critical
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ScreenToGif#274
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @zalmanlew on GitHub (May 30, 2018).
Original GitHub issue: https://github.com/NickeManarin/ScreenToGif/issues/330
Originally assigned to: @NickeManarin on GitHub.
I was pasting in HEX values and was quite surprised at what they showed.
The color on the left is what it's supposed to show, the color on the right is what it actually shows.
The problem has something to do with it mixing around the numbers (it has the 61, 187, 210 correct, just in wrong order - and one of them was applied to alpha as well)
@NickeManarin commented on GitHub (May 30, 2018):
Try pasting #FF3DBBD2 instead.
I'll fix this by checking the length of the code.
Thanks.
@NickeManarin commented on GitHub (May 31, 2018):
Fixed. Now it will work like this:
If you paste #A1 or just A1: It will apply 0xFF to the alpha value and 0xA1 to RGB.
If you paste #F411 or just F411: It will apply 0xF4 to the alpha value and 0x11 to RGB.
If you paste #F41122 or just F41122: It will apply 0xFF to the alpha value and 0xF4 + 0x11 + 0x22 to RGB.
If you paste #FFF41122 or just FFF41122: It will work as usual.