implemented setColor for TextConfiguration