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
in the above conditions and its similar in the code if r, g, b are zero rgb(0,0,0) , {r:0,g:0,b:0} the result will be falsy cause 0 && true equals false
would be great to verify the edge cases in each function
The text was updated successfully, but these errors were encountered:
Greetings,
in the getColorEncoding function:
if ((c.r + c.g + c.b) && typeof (c.r + c.g + c.b) === 'number')
in the above conditions and its similar in the code if r, g, b are zero
rgb(0,0,0) , {r:0,g:0,b:0}
the result will be falsy cause 0 && true equals falsewould be great to verify the edge cases in each function
The text was updated successfully, but these errors were encountered: