use input color to change background code example Example: input backgound color <input style="background-color: gold;" type="text" value="">