liveBook · Manning

Hue

Hue is the perceived color attribute identifying a color family or position on a color spectrum, independently of saturation and lightness.

How 6 Manning books explain it

Math for Web Design

Hue is the perceptual attribute that identifies a color by its position among color families such as red, green, or blue.

How it is used
Builds harmonious web-page palettes and drives color changes in a reading-progress indicator.
How deep it goes
Defines hue as a color-wheel angle, works through palette offsets and RGB conversion, and distinguishes HSL from OKLCH behavior.
Examples
Uses CSS heading colors, angle-based palettes, RGB-to-HSL JavaScript, and a scroll-driven red-to-green progress bar.
What you can do after
Build it from scratch: calculate related HSL hues with CSS offsets or map scroll progress to a changing hue in JavaScript.

Read how Math for Web Design explains hue →

Web Design Playground, Second Edition

Hue is the color attribute corresponding to a position on the color spectrum, commonly represented by an angle or numeric range.

How it is used
Uses hue to specify CSS colors and choose harmonious web-page color schemes.
How deep it goes
Defines hue as a 0–359-degree color-wheel position and works through HSL values and scheme calculations, without descending into color science.
Examples
Shows a purple CSS heading, color-wheel positions, and a calculator that generates schemes from a starting color.
What you can do after
Apply it via CSS hsl() and the Color Scheme Calculator to set colors and find companion hues.

Read how Web Design Playground, Second Edition explains hue →

CSS in Depth, Second Edition

Hue is a color-space component representing a dominant color family, commonly expressed as an angle around a color wheel.

How it is used
Uses hue to identify color families and develop related CSS palette colors.
How deep it goes
Defines HSL hue as an angle, explains its color-circle positions and wraparound, then applies nearby OKLCH angles to a palette.
Examples
Compares hsl(198deg 73% 46%) with #2097c9 and shows related OKLCH greens near 165deg.
What you can do after
Apply it via CSS HSL or OKLCH to choose related colors and refine them in browser DevTools.

Read how CSS in Depth, Second Edition explains hue →

Everyday Data Visualization

The HSB color coordinate representing a color's position around a circular color spectrum, conventionally measured from 0 to 360 degrees.

How it is used
Guides color adjustments and the construction of continuous data palettes.
How deep it goes
Defines hue as a circular coordinate, works through a green adjustment, and explains how saturation, brightness, and lightness change its appearance.
Examples
Uses a 120° green adjusted toward 150° or 90° and compares single-hue with two-hue gradients.
What you can do after
Apply it via color pickers to anticipate hue shifts and choose distinguishable hues for sequential palettes.

Read how Everyday Data Visualization explains hue →

Design for Developers

Hue is the pure color or base-color quality of a color, distinct from the effects of adding white, black, or gray.

How it is used
Uses hue as the starting point for palette building, visual hierarchy, interface emphasis, and accessible color decisions.
How deep it goes
Defines hue, distinguishes it from saturation and lightness, applies it through palette decisions, and briefly contrasts HSL with LCH.
Examples
Uses red as a pure color, a violet-blue landing-page palette, saturated imagery, and visual comparisons of hue, saturation, and lightness.
What you can do after
Apply hue via HSL or HSLA, build related palette colors, emphasize primary actions, and check resulting text contrast.

Read how Design for Developers explains hue →

Web Design Playground

A color dimension that identifies the perceived type of color, such as red or blue, independent of saturation or lightness.

How it is used
Identifies a color’s position on the color wheel for choosing CSS colors and page color schemes.
How deep it goes
Defines hue in degrees and shows its place in hsl() without exploring color-model internals.
Examples
Uses red, green, and blue wheel positions, CSS headings, and a red-and-cyan complementary pair.
What you can do after
Apply it via CSS hsl() to choose a hue and pair complementary colors in a page design.

Read how Web Design Playground explains hue →

Also covered in

What to know first

Related concepts

Questions about hue

What is hue?

Hue is the perceived color attribute identifying a color family or position on a color spectrum, independently of saturation and lightness.

Which Manning books explain hue?

Math for Web Design, Web Design Playground, Second Edition, CSS in Depth, Second Edition, Everyday Data Visualization, Design for Developers and Web Design Playground.

What should I know before learning hue?

Manning books that teach hue usually introduce color wheel, HSL method, opacity and button first.

What is hue part of?

Hue is part of HSL method. The HSL method represents colors using hue, saturation, and lightness within a color model or notation system.

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.