function rgbToHeximport { rgbToHex } from "https://deno.land/x/colormath@1.2.4/src/utils.ts"; rgbToHex(unnamed 0: number[]): stringConverts a rgb array to a formatted hex. ExamplesrgbToHex([255, 255, 255]); // '#ffffff' rgbToHex([0, 0, 0]); // '#000000' rgbToHex([255, 255, 255, 0.5]) // '#ffffff7f' Parametersunnamed 0: number[]The [r, g, b, a] array. Returnsstring