Skip to main content
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@1.2.15/mod.ts";

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

Parameters

color

The color value to convert