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

x/imagescript/mod.ts>Image.hslaToColor

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

Converts HSLA colors to RGBA colors

Parameters

h

hue (0..1)

s

saturation (0..1)

l

lightness (0..1)

a

opacity (0..1)