You can simply add css for specific product. For better assistance please share store url.
But if you need an option in for specific product from where you can change color anytime without editing css.
Follow this https://help.shopify.com/en/themes/customization/store/create-alternate-templates
Once to do this you just have to create and option in schema and call it for add to cart button