colorinput html rewrite