@relvista/rendererFunctionstoHexOn this pageFunction: toHex() function toHex(rgb): string; Formats a colour as #rrggbb, clamping and rounding each channel. Parameters rgb Rgb The colour channels. Returns string