function darkenimport { darken } from "https://deno.land/x/colormath@1.2.4/dist/index.d.ts"; darken(color: ColorValue, amount?: number): ColorResultDarkens a color. Darkens a color. Examplesdarken([218, 48, 85], 50) // [0, 24.5, 90.5] darken([218, 48, 85], -50) // [241.5, 255, 255] lighten('#7298da').hex; // '#a5cbff' lighten('#7298da', 50).hex; // '#f2ffff' Parameterscolor: ColorValueThe rgb values in the form of [r, g, b] array or hex string. optionalamount: numberThe amount to darken. The range should be from -100 to 100. Default value is 10. Negative values lighten the color. ReturnsColorResult