check nodes for color attribute