I'm working with charts.js library and I need to generate random colors for the charts units.
I saw a lot of answers on how to do so. Like Anatoliy answer for example.
The thing is, I need it's equivalent highlight color as well (or any close color) to fulfill the 'highlight' field of the charts.js Pie.
{
value: 300,
color: "#30a5ff",
highlight: "#62b9fb",
label: "Label"
},