encyclopegia.org

color gradient

In color science, a color gradient (also known as a color ramp or a color progression) specifies a range of position-dependent colors, usually used to fill a region.[src] In assigning colors to a set of values, a gradient is a continuous colormap, a type of color scheme.[src] In computer graphics, the term swatch has come to mean a palette of active colors.[src] RAL K5 Fächer RGB.jpg|RAL CLASSIC K5 color fan Guidapantonestandard.JPG|Pantone color guide Nuancier Pantone.jpg|cards of Pantone base colors and blends HKS-K-Farbfaecher.jpg|HKS colour fan[src]

In color science, a color gradient (also known as a color ramp or a color progression) specifies a range of position-dependent colors, usually used to fill a region.[src] In assigning colors to a set of values, a gradient is a continuous colormap, a type of color scheme.[src] In computer graphics, the term swatch has come to mean a palette of active colors.[src] ==Definitions== Color gradient is a set of colors arranged in a linear order (ordered) A continuous colormap is a curve through a colorspace ===Strict definition=== A colormap is a function which associate a real value r with point c in color space C f: [r_{min}, r_{max}] \subset \mathbf{R} \to C which is defined by: a colorspace C an increasing sequence of sampling points r_0 a series of values in the colorspace c_0,..., c_m \in C the mapping f(r_i) = c_i ,i = 0,...,m a rule for interpolating the intermediate values r_{i-1} where: r is a real number r \in [r_{min}, r_{max}] \subset \mathbf{R} \mathbf{R} is a set of real numbers c is a color = point in colorspace C ==Types== Criteria for classification: dimension discrete ( classed, color scheme) / continuous shape range: full or limited.[src] Example : pastel color with limited range of saturation.[src] perceptual uniformity order ordered (sequential) and non-ordered (categorical) perceptual order readability for color-vision deficient or color-blind people ( colorblind-friendly) color space color depth ===Dimension=== 1D 2D: Multivariate map, bivariate or trivariate 3D ===Shapes=== ====Axial gradients==== An axial color gradient (sometimes also called a linear color gradient) is specified by two points, and a color at each point.[src] The colors along the line through those points are calculated using linear interpolation, then extended perpendicular to that line.[src] In digital imaging systems, colors are typically interpolated in an RGB color space, often using gamma compressed RGB color values, as opposed to linear.[src] CSS and SVG both support linear gradients.[src] ====Radial gradients==== A radial gradient is specified as a circle that has one color at the edge and another at the center.[src] Colors are calculated by linear interpolation based on distance from the center.[src] This can be used to approximate the diffuse reflection of light from a point source by a sphere.[src] Both CSS and SVG support radial gradients.[src] ====Conic gradients==== Conic or conical gradients are gradients with color transitions rotated around a center point (rather than radiating from the center).[src] Example conic gradients include pie charts and color wheels.[src] Conic gradients are sometimes called "sweep gradients" (for example in the OpenType specification) or angular gradients.[src] ====Other shapes==== In vector graphics polygon meshes can be used, e.g., Adobe Illustrator supports gradient meshes.[src] ===Color space=== ====Effect of color space==== The appearance of a gradient not only varies by the color themselves, but also by the color space the calculation is performed in.[src] The problem usually becomes important for two reasons: Gamma correction to a color space.[src] With a typical γ of around 2, it is easy to see that a gamma-enabled color space will blend darker than a linear-intensity color space, since the sum of squares of two numbers is never more than the square of their sum.[src] The effect is most apparent in blending complementary colors like red and green, with the middle color being a dark color instead of the expected yellow.[src] The radial and conic examples on this page clearly exhibit this error.[src] Handling of other perceptual properties.[src] In information visualization, it is undesirable to have a supposedly "flat" gradient show non-monotonic variations in lightness and saturation along the way.[src] This is because human vision emphasizes these qualities, causing bias or confusion in interpretation.[src] A "linear" blend would match physical light blending and has been the standard in game engines for a long time.[src] On the web, however, it has long been neglected for both color gradients and image scaling.[src] Such a blend still has a subtle difference from one done in a perceptually-uniform color space.[src] ==Examples== ===HSV rainbow=== ==Applications== represent quantitative or ordinal values, like in heat maps.[src] More precise description is in color box.[src] data visualisation fill a region: many window managers allow the screen background to be specified as a gradient.[src] The colors produced by a gradient vary continuously with position, producing smooth color transitions.[src] visualize the progression of an extended computer operation, such as a download, file transfer, or installation.[src] See progress bar Coloring cartographic maps[src]

38 sentences · 38 cited inline · 0 references stored

References

No reference rows published for this article.

Cite this article

MLA

"color gradient." encyclopegia.org, 2026, https://encyclopegia.org/wiki/color-gradient. Accessed 27 November 2026.

Chicago

"color gradient." encyclopegia.org. Accessed November 27, 2026. https://encyclopegia.org/wiki/color-gradient.

APA

encyclopegia.org. (2026). color gradient. Retrieved November 27, 2026, from https://encyclopegia.org/wiki/color-gradient

Accessed November 27, 2026 · CC BY-SA 4.0 · citation page · JSON

Related articles

Tooth color measurement

stub · references available

gradient

stub · references available

Game Boy Color

stub · references available

color index

stub · references available

Color

stub · references available

color wheel

stub · references available

subtractive color

stub · references available

CIE 1931 color space

stub · references available
CC BY-SA 4.0 · tier1-factual · https://en.wikipedia.org/w/index.php?oldid=1365531929 · 0.55 · snapshot color-gradient-181068-38bc13577ddfd048 · QID Q1551346

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools
  • Careers — open roles: frontier engineers and sales partners

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.