puppeteer/new-docs/puppeteer.protocol.dom.rgba.md

24 lines
1006 B
Markdown
Raw Normal View History

<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [puppeteer](./puppeteer.md) &gt; [Protocol](./puppeteer.protocol.md) &gt; [DOM](./puppeteer.protocol.dom.md) &gt; [RGBA](./puppeteer.protocol.dom.rgba.md)
## Protocol.DOM.RGBA interface
A structure holding an RGBA color.
<b>Signature:</b>
```typescript
export interface RGBA
```
## Properties
| Property | Type | Description |
| --- | --- | --- |
| [a](./puppeteer.protocol.dom.rgba.a.md) | number | The alpha component, in the \[0-1\] range (default: 1). |
| [b](./puppeteer.protocol.dom.rgba.b.md) | [integer](./puppeteer.protocol.integer.md) | The blue component, in the \[0-255\] range. |
| [g](./puppeteer.protocol.dom.rgba.g.md) | [integer](./puppeteer.protocol.integer.md) | The green component, in the \[0-255\] range. |
| [r](./puppeteer.protocol.dom.rgba.r.md) | [integer](./puppeteer.protocol.integer.md) | The red component, in the \[0-255\] range. |