Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
interface Protocol.DOM.RGBA
import { type Protocol } from "https://deno.land/x/puppeteer@14.1.1/vendor/puppeteer-core/puppeteer/api-docs-entry.d.ts";
const { RGBA } = Protocol.DOM;

A structure holding an RGBA color.

Properties

The red component, in the [0-255] range.

The green component, in the [0-255] range.

The blue component, in the [0-255] range.

optional
a: number

The alpha component, in the [0-1] range (default: 1).