Every interface answers the pointer. A button darkens as the cursor reaches it, deepens again as it is pressed, and a list row quietly changes as you pass over it. Those small changes are usually picked one at a time, by eye, in the moment: a slightly darker blue here, a guessed value there. By the fifth screen, nobody remembers which darker blue was the hover one.

States do not need invention. They need distance. If your colors live on a scale, a state is simply a position on that scale relative to the resting color: hover is one step away, active is one step further. This guide sets up that system with the free Color Shades and Tints Generator on Ovatly, whose own list of uses puts hover states first.

Contents

  • Quick answer
  • States are distances, not colors
  • Which direction reads as pressed
  • How to assign states, step by step
  • Worked example: three states from one base
  • Limitations and honest tradeoffs
  • Common mistakes
  • FAQs
  • Conclusion

Quick answer

Build a scale around your resting color with the Color Shades and Tints Generator. Keep the resting state on the base. Set hover to the step beside it, and active to one step further in the same direction: darker on a light interface, toward the shades. Test the hover step at real size, because equal percentage steps do not look equally spaced. If one step is invisible, take two steps on the same side instead of inventing one.

States are distances, not colors

A shade scale mixes a base color toward black in even percentage steps; a tint scale mixes it toward white the same way. Every value on the scale is therefore a known distance from the base: one step, two steps, in a stated direction.

Thinking in distances changes the questions. Instead of asking what color hover should be, you ask how far hover should sit from resting, and the scale answers with a value guaranteed to belong to the same family, because it is the base color plus a measured amount of black or white and nothing else. Active is not a new search either: it is hover's distance plus one more step. A whole interface can share the rule, so a button, a list row and a tab all move by the same amount when the pointer reaches them.

Which direction reads as pressed

On a light interface, the working convention is that interactive elements darken as the interaction deepens: resting is the base, hover is one shade step darker, active is one step further still. Darker reads as pressed: the element looks as if it has moved slightly away from the light and toward the user, which matches the physical metaphor of pushing a button in.

Treat that as a convention, not a law of nature. Some surfaces lighten on hover instead, particularly elements on dark or saturated backgrounds, and for those the scale's tint side does the same job in the other direction. What is not optional is consistency: pick the direction your interface uses, then move every state the same way, one step at a time.

How to assign states, step by step

  1. Open the Color Shades and Tints Generator and enter the resting color of the element as the base, as a HEX value or with the swatch.
  2. Choose four steps per side. State work needs only two steps of headroom in the direction you use, and four leaves room for borders and surfaces too.
  3. Copy the whole scale and mark three positions: the base as resting, the adjacent step on your chosen side as hover, and the next step beyond it as active.
  4. Apply the same three positions to every element that shares the resting color, and the same distances to elements with different resting colors, each from its own scale.
  5. Test hover at real size, on the real surface, with the real pointer. If the change is not clearly visible, move hover to two steps and active to three, rather than editing a value by hand.
  6. Record the positions, not just the values: resting 0, hover 1 step, active 2 steps. Positions survive a rebrand; raw values in a stylesheet do not explain themselves.

Worked example: three states from one base

Take the base color #2563EB with four steps per side. The shade side of the scale runs #1E4FBC beside the base, then #163B8D, then #0F285E, then #07142F at 80 percent toward black. The tint side runs from #5182EF to #D3E0FB.

A primary button on a light interface takes its states straight from the shade side. Resting is the base, #2563EB. Hover is the adjacent shade, #1E4FBC: one even step darker, close enough to read as the same button, different enough to answer the pointer. Active is one step further, #163B8D, so the press deepens the same movement instead of starting a new one. Three states, three neighbouring values, no invention.

Now take an element that lightens on hover, such as a pale surface row. Its states come from the tint side with the same distances: resting at its base, hover one tint step up, active one step further. The direction belongs to the surface; the distances belong to the system.

Limitations and honest tradeoffs

The central caveat is perceptual, and the tool's own notes state it: equal percentage steps do not look equally spaced, because human vision is more sensitive in dark tones. A one-step hover that is perfectly visible among mid-tones can be nearly invisible among dark shades, and a step that looks gentle on the tint side can look strong on the shade side. This is why the method insists on testing at real size and allows the two-step correction: the scale gives you the next honest value.

The mixing model sets a second limit. The scale is a straight line in RGB space, simple and predictable, while perceptual scales such as OKLCH ramps curve differently and can keep mid-tones more vivid. For state work the tradeoff is usually worth it: states need reproducibility more than the last degree of vividness, and reproducible state colors outlast hand-tuned values nobody can derive.

Common mistakes

  • Inventing an in-between hover value. A hand-mixed value between steps cannot be rebuilt by anyone else and leaves active with nowhere consistent to go. Take the next step on the scale instead.
  • Giving every component its own distance. Hover one step on buttons and three steps on rows feels random, because it is. One distance rule, applied everywhere, is what makes states legible.
  • Reversing direction between hover and active. Hover darker, then active lighter, reads as the element approaching and retreating. States move one way: further in the hover direction.
  • Trusting the percentages without looking. Equal steps do not look equal, especially among dark tones. A hover you cannot see at real size is not a hover, whatever the numbers say.
  • Using the deepest shades for pressed states. The far end of the scale belongs to surfaces and text variants. Active sits two steps from the base; a button that plunges to near-black on press has left the family behind.

FAQs

Which step should the hover state use? The step beside the resting color on the scale. If the resting state is the base color, hover is the adjacent shade in a light interface, one even step darker. Adjacent steps keep the change inside the same family and at the smallest distance the scale offers.

What if one step is not visible enough for hover? Take two steps on the same side rather than inventing an in-between value the scale did not give. An invented value breaks the system: nobody else can rebuild it, and the next state has nowhere consistent to go. Two steps keeps every state on the scale and reproducible.

Should the active state be darker or lighter than hover? One step further in the same direction as hover. States read as a sequence: resting, then hover, then active, each one step along the scale. Reversing direction between hover and active makes the sequence hard to read, because the element appears to move toward the user and then away again.

Can a hover state lighten instead of darken? Yes, when the element sits on a surface that lightens on hover. The scale has a tint side for exactly that: the step beside the base toward white. The rule is not the direction, it is the distance: one step from resting, whichever side the design's convention uses, applied consistently.

How many steps per side do I need for state work? Four steps per side, nine values including the base, covers most interfaces, and state work is the comfortable case: resting, hover and active need only two steps of headroom on the side you use. Data visualization may want more steps.

Conclusion

Hover and active states stop being a guessing game the moment they become distances: one step for hover, one step further for active, always in the same direction, always from the scale. Build the scale with the Color Shades and Tints Generator, test the steps at real size, and the system holds on every screen. The same scale, read from the dark end, also builds a complete dark theme, which our companion guide on building a dark mode palette from one base color sets out in full. For more guides in this series, see the Color and Design Tools guides.