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

x/imagescript/mod.ts>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/mod.ts";

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

Parameters

color

The color value to convert