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

x/imagescript/mod.ts>Image.rgbaToHSLA

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

Converts an RGBA value to an array of HSLA values

Parameters

r

{number} (0..255)

g

{number} (0..255)

b

{number} (0..255)

a

{number} (0..255)