Blog

How to keep a color history while redesigning a page

Save each sampled color with its page element, role, and date so you can compare design changes, restore earlier choices, and keep useful shades.

Emily ParkerTools and utilities 4 min read

You are changing a page’s colors and want to keep the shades that worked, not just the latest version. Without a record, it is easy to forget which color belonged to a button, header, or hover state, or to lose a shade you may want to bring back.

Use the Color Picker to sample colors visible on your screen, then save each result in a simple dated log. The tool shows color values such as HEX, RGB, and HSL, but it does not create a named history for you, so keep the log in a document or spreadsheet you control.

Keep a color history as you redesign

  1. Open the Color Picker on a computer in Chrome or Edge. It can sample a color from anywhere on the screen. Other browsers may provide a reduced version or no screen sampling.
  2. Open the page you are redesigning and find a specific color to record. Note the page, element, and state, for example, “pricing page, primary button, hover.” A label like “blue” will not be enough to identify the color later.
  3. Sample the color with the Color Picker and write down its HEX value. You can also include RGB or HSL if those formats are useful in your design workflow. Record the value before changing the page.
  4. Add a dated entry to your log with the element, state, value, and a short note about why you are changing it. Keep the previous value rather than replacing it.
  5. After applying a new color, sample the displayed result and record it as a separate entry. Check the page in the same state and on the same display when you compare the old and new colors.

A practical log entry might look like this: 2026-04-15, pricing page, primary button hover, #2457A6, changed for stronger contrast. Use whatever date format you prefer, but keep it consistent. If you track a color across several pages, include the page name in every entry.

Choose what to record

Record the HEX value for quick reuse

HEX values, such as #2457A6, are compact and commonly used in web design tools and CSS. They are a good default if your main goal is to restore a previous color. Include the leading # so the value is easy to recognize and search for in your log.

Add RGB or HSL when you compare color adjustments

RGB describes the red, green, and blue components. HSL describes hue, saturation, and lightness, which can be easier to reason about when you are making a color lighter or less vivid. Keep these formats as extra columns or details, not substitutes for a clear label and HEX value.

Track states separately

A button can have different colors when it is idle, hovered, focused, or disabled. Treat each state as its own entry. The same applies to text, borders, backgrounds, and links. If two elements share a color, record both uses or give the color a shared name and list every place it appears.

Understand what the sampled result means

The sampled HEX value matches your saved value

The visible color is consistent with that value in the current display. Keep the entry and note where you checked it. This is useful for confirming that a redesign did not accidentally change a color used elsewhere.

The color looks the same but the values differ

Two nearby values can look almost identical, especially on a small area or a display with different color settings. Compare the numbers in your log rather than relying only on memory. If the design needs a single shared color, choose one value and update the relevant elements consistently.

The sampled value changes between checks

Make sure you are sampling the same pixel and the same page state. A gradient, transparency, shadow, animation, or hover effect can change the color at the point you select. The color shown on screen is the rendered result, so it may not match a color value in the page’s source if other visual effects are applied.

Make the log easy to use later

  • Keep old entries. Add a new line for a revision instead of overwriting the earlier value. That gives you a record of what changed and makes it easier to restore a previous choice.
  • Use clear names. Prefer “footer background” to “dark gray,” and include the page or component when the same name could refer to several places.
  • Record the reason. A short note such as “matched the new logo” or “increased text contrast” helps you remember why the color was selected.
  • Separate drafts from approved colors. Mark a value as proposed, approved, or replaced so you do not mistake an experiment for the final design.
  • Back up the log with the project. Store a copy alongside the design files or in the project’s normal backup location. A color history is only useful if you can find it later.

For the closest comparison, sample colors under the same display and browser conditions. A screen sample captures what you see, and display settings or color profiles can affect how a shade appears to you.