I’ve also included an input field where users can enter a six-character hexadecimal value for a color, and a color swatch that displays the currently active color. The color palette is where we get the currentcolor variable that we’ve used in almost every lesson, but it’s only the end result of various uses of a variable called hexcolor that passes the hexadecimal value from the selected color to currentcolor in order to control the tools and the active color swatch.
