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

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

Converts a color value to an array of RGBA values

Parameters

color

The color value to convert