text color function added