debug for coloring element in panel