Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/imagescript/mod.ts>Image.hslToColor

zero-dependency JavaScript image manipulation
Extremely Popular
Go to Latest
method Image.hslToColor
import { Image } from "https://deno.land/x/imagescript@v1.2.14/mod.ts";

Converts HSL colors to RGBA colors (assuming an opacity of 255)

Parameters

h

hue (0..1)

s

saturation (0..1)

l

lightness (0..1)