Brightness
Brightness is the perceived or measured intensity or lightness of a color, image, visual stimulus, or light source.
Everyday Data Visualization
The HSB color coordinate representing the apparent illumination of a color, with zero producing black and the maximum producing the brightest result.
- How it is used
- Uses brightness to adjust colors and help control contrast and emphasis in data visualizations.
- How deep it goes
- Defines the HSB coordinate through its endpoints and saturation interaction, then contrasts it with HSL lightness without deriving either color space.
- Examples
- Shows a saturation–brightness grid, a darkened room with paint chips, palette adjustments, and contrasting text on a dashboard.
- What you can do after
- Apply it via an HSB color picker to adjust palette emphasis while checking background contrast and grayscale distinguishability.
Math for Web Design
Perceived brightness is the visual intensity or lightness of a color or visual stimulus as experienced by human vision.
- How it is used
- Guides perceived lightness in CSS color scales, grayscale conversion, readable text, and light/dark palettes.
- How deep it goes
- Works through weighted RGB grayscale conversion and lightness-based palette adjustments, while treating accessible contrast as a separate luminance calculation.
- Examples
- Uses an OKLCH brand scale, a weighted JavaScript grayscale function, and lightness inversion for paired themes.
- What you can do after
- Apply it via CSS and JavaScript to make lightness scales and grayscale colors, then evaluate text contrast separately.
CSS in Depth, Second Edition
Luminosity is the perceived lightness or brightness component of a color.
- How it is used
- Uses brightness to choose lighter or darker CSS colors and to retain image shading when applying a tint.
- How deep it goes
- Explains HSL lightness values and works through luminosity blending, including how reversing layer order changes the required blend mode.
- Examples
- Shows a blue HSL value, a lighter OKLCH green, and a photograph tinted blue with background-blend-mode: luminosity.
- What you can do after
- Apply it via HSL or OKLCH to adjust color lightness, or via CSS blend modes to tint an image while retaining its shading.
Web Components in Action
Brightness is the color attribute describing the perceived lightness of a color.
- How it is used
- Uses vertical movement in a saturation-and-brightness picker to let users choose a color’s lightness.
- How deep it goes
- Defines perceived lightness and implements it as a normalized y-axis percentage, without discussing color-model internals.
- Examples
- Demonstrates brightness with a two-dimensional picker using gradient overlays and a red background.
- What you can do after
- Build it from scratch as the vertical control of a coordinate-picker Web Component.
Web Design Playground, Second Edition
Lightness is the degree to which a color appears light or dark, commonly expressed as a percentage.
- How it is used
- Controls how light or dark an HSL color appears when choosing CSS colors.
- How deep it goes
- Defines lightness as a percentage and demonstrates its position in hsl(), without exploring color calculations.
- Examples
- Shows a purple CSS heading, a visual lightness comparison, and a Color Chooser control.
- What you can do after
- Apply it via CSS hsl() or the Color Chooser to make a selected color lighter or darker.
Read how Web Design Playground, Second Edition explains brightness →
Design for Developers
Brightness is the perceived lightness level of a color.
- How it is used
- Uses brightness to build color palettes, establish interface emphasis, and support readable contrast.
- How deep it goes
- Defines lightness, demonstrates palette adjustments, and notes perceptual differences across hues without detailing color-space internals.
- Examples
- Uses an HSB travel landing-page palette with violet-blue tones, gray values, text overlays, buttons, headlines, and checked controls.
- What you can do after
- Apply brightness through HSB or HSL controls to create shades, tints, hierarchy, and more readable interface color combinations.
Web Design Playground
A measure of the brightness of a color or light source as perceived or represented in a color model.
- How it is used
- Uses luminance to control how light or dark a color appears when specifying web colors.
- How deep it goes
- Defines luminance on a 0–100% scale and applies it in hsl(), without developing deeper color theory.
- Examples
- Uses black, white, gray, blended RGB colors, and purple hsl() values to illustrate brightness.
- What you can do after
- Apply it via CSS hsl() by choosing a luminance percentage between 0 and 100.
Also covered in
- Machine Learning Platform Engineering
- Data Storytelling with Altair and AI
- Tiny CSS Projects
- Math and Architectures of Deep Learning
What to know first
- HSL methodThe HSL method represents colors using hue, saturation, and lightness within a color model or notation system.
- opacityOpacity is the visual property specifying how opaque or transparent a rendered element or color appears.
- color spaceA color space is a defined coordinate system for representing colors using specified components, dimensions, or numerical values.
- color wheelA color wheel is a circular arrangement of hues that represents relationships such as adjacency, opposition, and harmony.
Related concepts
- HSL methodpart of · The HSL method represents colors using hue, saturation, and lightness within a color model or notation system.
- contrast ratiomeasured by · A contrast ratio is the numerical ratio of the higher relative luminance to the lower relative luminance of two colors.
- dimensionconfigured by · A dimension is an independent coordinate or feature axis used to represent points or data; the dimensionality of a representation is the number of such axes or components.
- LAB color spacepart of · The CIELAB color space is a device-independent, approximately perceptually uniform model representing color by lightness and opponent-color coordinates.
Questions about brightness
What is brightness?
Brightness is the perceived or measured intensity or lightness of a color, image, visual stimulus, or light source.
Which Manning books explain brightness?
Everyday Data Visualization, Math for Web Design, CSS in Depth, Second Edition, Web Components in Action, Web Design Playground, Second Edition, Design for Developers and Web Design Playground.
What should I know before learning brightness?
Manning books that teach brightness usually introduce HSL method, opacity, color space and color wheel first.
What is brightness part of?
Brightness is part of HSL method. The HSL method represents colors using hue, saturation, and lightness within a color model or notation system.
What is brightness also called?
Brightness is also called lightness or luminosity.
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.






