Color¶
An RGBA color represented by four components.
See [GPUColor in the WebGPU specification](https://www.w3.org/TR/webgpu/#typedefdef-gpucolor).
Constructors¶
Color¶
Properties¶
a¶
The alpha channel value.
See [GPUColor.a in the WebGPU specification](https://www.w3.org/TR/webgpu/#dom-gpucolordict-a).
b¶
The blue channel value.
See [GPUColor.b in the WebGPU specification](https://www.w3.org/TR/webgpu/#dom-gpucolordict-b).
g¶
The green channel value.
See [GPUColor.g in the WebGPU specification](https://www.w3.org/TR/webgpu/#dom-gpucolordict-g).