Hex Color Tint Calculator
Lighten any hex color by a percentage while keeping its hue — mix a color toward white to generate lighter shades for a design palette.

Built by
Swapnil SanghviFull-Stack Web Developer & WordPress Developer
Swapnil Sanghvi is a full-stack web and WordPress developer, UI designer, and full-time freelancer who builds and maintains Hex Calculator.
Further reading: CSS Colors — W3Schools
How Hex Color Tinting Works
Tinting mixes a color toward white by a given percentage. Each RGB channel is moved that percentage of the way from its current value to 255 — the maximum — so the color gets lighter while its hue stays the same. This is the same technique used to generate lighter steps of a brand color for UI states like hover and disabled backgrounds.
Hex Color Tint Example, Step by Step
#2563EB + 20% tint = #5182EF
#2563EB tinted 20% = #5182EF
#2563EB -> rgb(37, 99, 235) R = 37 + (255-37) x 0.20 = 80.6 -> 81 (0x51) G = 99 + (255-99) x 0.20 = 130.2 -> 130 (0x82) B = 235 + (255-235) x 0.20 = 239 (0xEF) Result: #5182EF
| Step | Description | Result |
|---|---|---|
| Convert hex to RGB | #2563EB -> rgb(37, 99, 235) | R=37 G=99 B=235 |
| Move red toward white | 37 + (255-37) x 0.20 | R = 81 |
| Move green toward white | 99 + (255-99) x 0.20 | G = 130 |
| Move blue toward white | 235 + (255-235) x 0.20 | B = 239 |
| Convert back to hex | combine the three channels | #5182EF |
Blue barely changes here because it started close to 255 already — the amount a channel shifts depends on how far it is from white to begin with.
Where Hex Color Tinting Actually Comes Up
Building a Design System's Lighter Shade Scale
Generating a consistent set of lighter steps from one base color (for backgrounds, hover states, and borders) means applying several tint percentages to the same starting hex.
base color -> 10%, 20%, 40% tint steps
Creating a Subtle Hover Background
A light tint of a brand or accent color makes a natural, on-brand hover or selected-state background without introducing an unrelated new color.
accent color +15% tint -> hover bg
Softening a Bold Color for Large Surfaces
A saturated brand color often feels too intense across a large area like a page background — tinting it lighter keeps the hue recognizable while reducing visual weight.
bold brand color +70% tint -> page bg
Common Mistakes With Hex Color Tinting
- Confusing tint with a simple brightness increase — tinting specifically mixes toward white, not just scaling up every channel.
- Entering a tint percentage above 100 or below 0, which have no meaningful result since 100% is already pure white.
- Expecting a black color to tint the same way as a saturated one — black tints toward pure gray since it has no hue to preserve.
Why Use This Calculator Instead of Doing the Math Yourself
- Handles the per-channel mixing math for you, no manual arithmetic
- Runs entirely in your browser — nothing you type gets sent anywhere
- Keeps hue consistent instead of just brightening every channel equally
- Flags out-of-range tint percentages instead of producing an invalid color
Limitations
- Produces a straightforward linear blend toward white — this isn't a perceptual (OKLab-based) tint, so evenly-spaced tint steps won't always look evenly spaced to the eye.
Frequently Asked Questions
What is a tint in color terms?
A tint is a color mixed with white to lighten it while preserving its underlying hue — the standard technique designers use to build lighter shades of a brand color for hover states, backgrounds, or a full color scale.
How is a tint percentage calculated?
Each RGB channel moves a percentage of the way from its original value toward 255 (white). A 20% tint means every channel is 20% closer to white than it started.
What's a 20% tint of #2563EB?
#5182EF — each channel has shifted 20% of the remaining distance toward white, producing a visibly lighter but still recognizably blue color.
What happens at 100% tint?
Any color tinted 100% becomes pure white (#FFFFFF), since every channel moves the full remaining distance to 255.
How is tint different from shade or tone?
Tint mixes toward white (lighter), shade mixes toward black (darker), and tone mixes toward gray (desaturated). This calculator handles tint specifically — lightening while keeping the hue intact.
How do I build a full lighter-shade scale from one brand color?
Run the same base color through this calculator at several tint percentages (like 10%, 20%, 40%, 60%, 80%) to generate a consistent set of lighter steps for a design system's color scale.
What tint percentage works well for a hover background?
There's no universal number, but a light tint in the 10-20% range is common for subtle hover backgrounds that stay close to the original color while signaling interactivity.