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

x/imagescript/ImageScript.js>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/ImageScript.js";

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

Parameters

h

hue (0..1)

s

saturation (0..1)

l

lightness (0..1)