fix 3-digit color code conversion.
color.html: color code pattern update for 3-digit support.