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

x/imagescript/mod.ts>Image.colorToRGBA

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

Converts a color value to an array of RGBA values

Parameters

color

The color value to convert