How can I implement this form of presentation of options on the product page?

How can I implement this form of presentation of options on the product page?

The color variant, for example, categorizes two categories and also breaks shopify’s own 100 sku limit.