-
Struggling with if/else with color input
Hi there I have a simple expression:
col = content(“Group 2”).content(“Fill 1”).color; white = hexToRgb(“ffffff”); if(col == white){0;}else{100;}
I tried with 1 (=) sign or 3 (===) but then it just doesnt work when I change
the color input (meaning it stays 0% with white (good) but it doesnt
show 100% if it is any other color…(bad))any help is appreciated.
cheers