Color component 2026-11-05
A color component is one numerical coordinate used by a color model to describe a colour. An RGB representation has red, green and blue components, while YCbCr has luma and two colour-difference components. Their meanings depend on the model and encoding: a component need not represent a separately emitted primary light. The Microsoft technical guide explicitly separates RGB signals from Y, Cb and Cr and gives their conversion equations.[ref]
For an original normalized Linear-light RGB example, the triple contains three component values for one colour sample. Its blue component is ; that scalar alone does not specify the complete colour. A second triple shares that blue component while differing in red and green. Likewise, the same numerical triple interpreted in different color spaces need not describe the same physical colour.
A component is also distinct from a storage plane. An eight-bit packed pixel format can place three RGB component codes in three successive bytes for each pixel, all in one image memory plane. NV12M instead uses a luma plane and an interleaved colour-difference plane: two memory planes carry three color components. Chroma subsampling can additionally give the components different spatial sample counts.
An alpha channel describes transparency or coverage rather than another coordinate of the colour itself. PNG consequently distinguishes truecolour samples with red, green and blue components from truecolour-with-alpha samples that carry an additional alpha value.[ref] Component identity, sample location, numerical encoding and storage layout together determine how an image is interpreted.
Color model Created 2026-10-20 Updated 2026-11-05
A color model describes colors using numerical components and rules for interpreting them. RGB uses red, green and blue components for additive representations; a subtractive printing model instead describes how colorants affect reflected light. A model alone does not fully define a reproducible color: a color space also specifies reference primaries, white point and transfer functions as needed. Consequently the same RGB triple can produce different colors on different uncalibrated devices. This distinction is essential when converting images between displays, files and physical prints.
Computer graphics Created 2026-10-13 Updated 2026-11-05
Computer graphics creates visual representations from geometric models and numerical data. Vector graphics store shapes and drawing instructions, while raster graphics store an array of pixels. A drawing may use both: a geometric object can be rendered into a raster image and then combined with existing image data.
For example, three points specify a triangle. A perspective projection maps its geometry into a camera view, and rasterization determines contributions to output pixels. Their values can depend on a color model, surface response and illumination; ray tracing provides another way to determine visible surface interactions.
The stored representation and the sampled output answer different questions. A smooth geometric boundary can cross a pixel footprint, so choosing only one sample may introduce aliasing. Raster sampling and reconstruction makes that loss of detail explicit. Image processing then transforms an existing image, while computer graphics can generate one from a geometric description.