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
{{ message }}
This repository has been archived by the owner on Dec 30, 2022. It is now read-only.
The color from SweeterColor doesn't match the hex color. Here's a screenshot comparing the colors using #EB6E2F set with XCode's storyboard, Inkscape, and SweeterColor:
NB: The screenshot colors are more vibrant than they actually are due to GitHub's image compression
To reproduce:
Create one UIView in Storyboard, set its color to #EB6E2F
Create another UIView in code set the background color. eg sweeterColorView.backgroundColor = UIColor(hex: "#EB6E2F")
Open Adobe PS or Inkscape, set the canvas color to #EB6E2F
Use the macOS Digital Color Meter again, the color from XCode and Adobe PS is correct, but SweeterColor has the wrong color
The text was updated successfully, but these errors were encountered:
I'm not really sure what the problem is. However, when I tried initializing the colors in three different ways, I get the same results.
As you can see, this color is different from the one you will get in photoshop. The result here has an RGB of (232, 98, 42). Where as #EB6E2F is really (235, 110, 47). Even the native UIColor initializer fails.
The issue I was getting was a mismatch between the color I added in Storyboard, and the color I added programmatically with SweeterColor, not sure if these helps.
The color from SweeterColor doesn't match the hex color. Here's a screenshot comparing the colors using
#EB6E2F
set with XCode's storyboard, Inkscape, and SweeterColor:NB: The screenshot colors are more vibrant than they actually are due to GitHub's image compression
To reproduce:
UIView
in Storyboard, set its color to #EB6E2FUIView
in code set the background color. egsweeterColorView.backgroundColor = UIColor(hex: "#EB6E2F")
The text was updated successfully, but these errors were encountered: