Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/color_hash/lib/colors.ts>RGB2HEX

Generate color based on the given string (using HSL color space and SHA256).
variable RGB2HEX
import { RGB2HEX } from "https://deno.land/x/color_hash@v2.0.0/lib/colors.ts";

Convert RGB Array to HEX

type

(RGBArray: number[]) => unknown