Skip to main content
Module

x/color_hash/mod.ts>default#hex

Generate color based on the given string (using HSL color space and SHA256).
Latest
method default.prototype.hex
import { default } from "https://deno.land/x/color_hash@v2.0.1/mod.ts";

Returns the hash in hex

Parameters

str: string

string to hash