add text colors and stroke to the attributed string