Darken a Colour Online – Choose How Much Darker, Free

How to darken a colour without guessing

Every website, poster and app needs more than one shade of a colour. A button needs a darker version for its hover state. A card needs a darker edge for a shadow. A heading needs a darker tone than the background so it stays readable. Guessing the darker shade by eye usually gives a colour that is muddy, or one that barely changes at all. This tool darkens any colour by an exact percent, so the new shade keeps the same hue and only loses lightness.

The tool works in HSL space, which is how designers think about colour: hue is the colour itself, saturation is how strong it is, and lightness is how bright it is. Darkening in HSL means lowering the lightness by a percent while the hue and saturation stay put. The result is a clean darker version of the same colour, not a grey or brown accident.

How to use the tool

Pick a colour with the colour picker, or type its hex code by clicking the picker and entering the code. Then move the slider to choose how much darker you want it, from 0 to 90 percent. The tool updates live: the two swatches show the original and the darker version side by side, and the big result is the new hex code in capital letters.

Press “Copy the new hex” to copy the code to your clipboard, then paste it into your design tool, your website’s style sheet, or your slide deck. The meaning line tells you the percent you chose, and the next step suggests where the darker shade works best.

Worked example

Start with the colour #336699, a calm steel blue. Darken it by 25 percent and the tool gives #264D73. The hue is still blue, but the colour is clearly deeper, which makes it a good hover state for a button that starts at #336699. Darken the same colour by 50 percent and you get about #1A334D, a dark navy that works for text on a light background.

Try a bright colour to see the same logic. Pure red #FF0000 darkened by 50 percent becomes #800000, a deep maroon. White #FFFFFF darkened by 50 percent becomes #808080, a mid grey. In every case the tool only changes the lightness, so the colour family never changes.

Where darker shades are used

Hover states are the most common use. A button that darkens by 15 to 25 percent when the mouse rests on it feels alive, and users understand at once that it is clickable. Shadows and borders are another use: a border two shades darker than a card makes the card look raised without a heavy outline. Text is a third use: a heading in a darker shade of the page’s accent colour looks designed, while the same colour at full strength can shout.

Darkening also helps with readability. Light colours make poor text on a white background, but the same colour darkened by 40 to 60 percent can pass a contrast check. The tool lets you test that in seconds: darken until the swatch looks dark enough to read, then copy the code.

Honest limits

This tool changes lightness only. It does not change saturation, so a very pale colour darkened a lot can look grey, and a very saturated colour can look harsh when darkened. If the result looks dull, try a smaller percent, or darken a colour that starts with more saturation. The tool also works with hex colours only. It does not handle transparency, gradients, or colour names, and it cannot check contrast for you. For accessibility, test the final pair with a contrast checker before you publish.

Frequently asked questions

How much darker should a hover state be? Between 15 and 25 percent works for most buttons. Less than 10 percent is hard to notice, and more than 30 percent can look like a different colour.

Why does the hue stay the same? The tool only lowers the lightness value in HSL space. Hue and saturation are left alone, so the colour keeps its family and only gets deeper.

Can I darken a colour to black? At 90 percent the tool gives a very dark shade, but not pure black unless the original is already dark. Pure black is #000000, which has no hue left.

What is a hex code? It is a six-digit code that names a colour on the web, with two digits each for red, green and blue. #FF0000 is pure red, #00FF00 is pure green, and #0000FF is pure blue.

También disponible en español: Oscurecer un Color en Línea

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top