Hello from the Wix DevRel Team!
This sounds like it’s possible with Velo, but your post doesn’t give enough detail for me to know for sure. You should be able to change the color and backgroundColor of most of your site’s UI using the Style method.
You could theoretically write a function that queries your database collection for product info relating to the color of the product and then write out some pretty basic logic that changes the color, backgroundColor, etc. based on what’s present in the database collection.
Hope this helps!
Rob