Making colour gradients

This Glitch shows you how to darken, lighten or blend colours in JavaScript, based on this most amazing Stack Overflow solution I found. This isn't a full app; it's meant to be an easily copy-pasteable bit of code for you. Enjoy!

Lighten

Darken

Blend