puppeteer/new-docs/puppeteer.protocol.dom.rgba.md
2020-07-13 14:01:35 +01:00

1006 B

Home > puppeteer > Protocol > DOM > RGBA

Protocol.DOM.RGBA interface

A structure holding an RGBA color.

Signature:

export interface RGBA 

Properties

Property Type Description
a number The alpha component, in the [0-1] range (default: 1).
b integer The blue component, in the [0-255] range.
g integer The green component, in the [0-255] range.
r integer The red component, in the [0-255] range.