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

x/imagescript/ImageScript.js>Image.rgbaToColor

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

Converts RGBA components to an RGBA value

Parameters

r

red (0..255)

g

green (0..255)

b

blue (0..255)

a

alpha (0..255)