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
Such as the color that is selected in this snapshot:
The cgColor is <CGColor 0x600002945740> [<CGColorSpace 0x60000297aac0> (kCGColorSpaceICCBased; kCGColorSpaceModelRGB; Display P3)] ( 0.929966 0.452357 0.181053 1 )
Then I find the method of UIColor.toHex does not work. Because the red value is 1.0000003576278687, and the value of red * multiplier is 256.00009055273404. So the hex is #1006A00
Is it possible to use 255 instead of 255.999999 for the multiplier value?
The text was updated successfully, but these errors were encountered:
Such as the color that is selected in this snapshot:
The cgColor is
<CGColor 0x600002945740> [<CGColorSpace 0x60000297aac0> (kCGColorSpaceICCBased; kCGColorSpaceModelRGB; Display P3)] ( 0.929966 0.452357 0.181053 1 )
Then I find the method of
UIColor.toHex
does not work. Because thered
value is1.0000003576278687
, and the value ofred * multiplier
is256.00009055273404
. So the hex is#1006A00
Is it possible to use
255
instead of255.999999
for themultiplier
value?The text was updated successfully, but these errors were encountered: