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

x/pptr/mod.ts>Protocol.DOM.RGBA

Headless Chrome Deno API
Latest
interface Protocol.DOM.RGBA
import { type Protocol } from "https://deno.land/x/pptr@1.2.0/mod.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).