# shadeColor
Lightens or darkens a hex color value by a certain percentage, negatives values for darker and positive ones for lighter tones.
shadeColor("#c72c2c", -40); // "#771a1a"
shadeColor("#c72c2c", 40); // "#ff3d3d"
← randomColorHex sum →
Lightens or darkens a hex color value by a certain percentage, negatives values for darker and positive ones for lighter tones.
shadeColor("#c72c2c", -40); // "#771a1a"
shadeColor("#c72c2c", 40); // "#ff3d3d"
← randomColorHex sum →