I'm making a Skript, and for the Skript I am working on rarities that define values, and the way I wish to get the rarities is by the color of their name. I don't know how to get an item name color tho. Please help, thanks. Heres an example of what I want, but doesn't work.
Code:
if held item's name is colored white: