Field Name | Type | Description |
---|---|---|
r | float | The value of the red channel, on a 0-1 scale. |
g | float | The value of the green channel, on a 0-1 scale. |
b | float | The value of the blue channel, on a 0-1 scale. |
a | float | The value of the alpha channel, on a 0-1 scale. |
Read this post on StackOverflow for an explanation on the differences between the linear color space and the sRGB color space.