How can I change buy buttons's color for each variant color?

16 0 2

hi folks. I'm using Dawn theme. 

I want the product variant color and the Buy button to be the same color when picked.
For example, if the variant color is red, I want the buy button to be red, and if it's yellow, I want it to turn yellow. 
This is what the page looks like now.




And this is example that I want. 



Reply 1 (1)

Shopify Partner
511 86 78



It can be done with special work.!


★ Looking for Dedicated Premium Coding Support? Join our unique "PREMIUM SUPPORT" service starting at 59 USD for 1 MONTH!
★ Get skilled Shopify developers at BUDGET-FRIENDLY RATES — explore for a rapid quote!
If my support was a lifeline for you, The COFFEE  
would be the anchor keeping me steady!
★ For Quick response --> WhatsApp | Email --> | Software Engineer - Specializing In Advanced E-Commerce Websites