Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
interface default.DOM.RGBA
import { type default } from "https://deno.land/x/pptr@1.2.0/vendor/devtools-protocol/protocol.d.ts";
const { RGBA } = default.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).