Do you have any resources or examples you recommend for this? My front-end knowledge is over a decade old. I would still be assigning all these colours individually in CSS!
https://developer.mozilla.org/en-US/docs/Web/CSS/Using_CSS_c...
https://jsfiddle.net/peteryates/uqdnj4sa/10/
Note, darken and lighten aren't always favoured these days, it's good advice to learn scale (https://sass-lang.com/documentation/modules/color#scale), but darken or lighten makes for an easier demo.