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

x/imagescript/ImageScript.js>Image.colorToRGB

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

Converts a color value to an array of RGB values (ignoring the colors alpha)

Parameters

color

The color value to convert