24 lines
1006 B
Markdown
24 lines
1006 B
Markdown
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||
|
|
||
|
[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [DOM](./puppeteer.protocol.dom.md) > [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. |
|
||
|
|