Krystal Campioni wrote a good tutorial on how to generate color schemes with Vue.js.

vue.js color schemes

Some years ago, I wrote an article explaining how to create color harmonies with sass. What if I could use a similar approach to create a proof of concept? How can we allow the user to select a UI color scheme making sure that the colors have enough contrast?