Add color attribute to color text content