Product Option Block: Color Swatch
The color swatch offers a selectable color choice list displayed on the product page.
You can choose which colors to offer as choices to your customer. The color code will then be added as a line item property on the Shopify Order screen when the order is placed. Here is how it would look on the storefront:

Can't find the answer in our documentation?
Contact Support Introduction to Product Options
Build a Product Options Set
Dynamic Display Logic in Product Options
Product Option Block: Upsells
Product Option Block: Gift Message
Product Option Block: Datepicker
Product Option Block: File Upload
Product Option Block: Inputs (Text, Number, Email, Phone, Textarea)
Product Option Block: Selections (Checkbox, Radio Button, Dropdown, Color Picker)
Product Option Block: Color Swatch
Product Option Block: Image Gallery
Styling you Product Options Image Row Upsell Components