Type Alias: RGB
RGB:
object
Represents a color in the RGB color space. Values for r, g, and b should be between 0 and 255. The alpha channel 'a' is optional and should be between 0 and 1 if provided.
Type declaration
Name | Type | Defined in |
---|---|---|
a ? | number | types.ts:12 |
b | number | types.ts:11 |
g | number | types.ts:10 |
r | number | types.ts:9 |
Defined in
types.ts:8