Added support for text color and color transform.