Set appropriate color and background color in html text widget.