what is happening i am comparing two colours and even if they are same the result is wrong help me find the bug please.
selectedColor
is something like rgb(255, 0, 0)
while requiredColor
is in the format rgb(255,0,0)
. Note that one has whitespace after the commas, while the other has not.
1 Like
thank you so much spend a lot of time finding this
1 Like
yes, i got it now