An example demonstrating the use of the <input type="color"> control.

Watch the paragraph colors change when you adjust the color picker. As you make changes in the color picker, the first paragraph's color changes, as a preview (this uses the input event). When you close the color picker, the change event fires, and we detect that to change every paragraph to the selected color.