Build a swatch color picker as a single React component. A row of six fixed swatches sits under a large preview box; clicking a swatch selects it, and that one choice drives the preview background, the hex label, and the selected ring. It's a tiny piece of stateful UI, but the point is that all three visible effects read from a single source of truth.
The starter App.tsx renders the six swatches with the first one selected and inert. Make it interactive:
useState(COLORS[0]).onClick calls setSelected(c) with its own color.selected: set the preview's background, show the hex string in the label, and add the selected class to the one matching swatch.#ef4444.#22c55e, and moves the ring onto the green swatch.selected, not stored per swatch.selected.<button>, so keyboard focus and activation come for free; give it an aria-label with the hex so it's announced.styles.css; focus on the state.