Color4
Color4 is a color representation that stores red, green, blue, and alpha components. The red, green, and blue channels define an opaque color, while the alpha channel encodes transparency. In computer graphics, Color4 is commonly used to pass color and opacity information through rendering pipelines, image editors, and shaders. The four components are usually named r, g, b, and a.
Component values can be stored in different numeric formats. Commonly, each channel is a floating-point value
Color4 is often represented as a four-component vector, such as a vec4 in shading languages or a
In rendering, alpha determines blending with underlying pixels: the output color is a blend of the foreground
Color4 is closely associated with the RGBA color model and is subject to color space considerations such