Colour Mixer

Blend two colours by percentage, preview the result and copy the mixed HEX, RGB or HSL value.

#A857C5
rgb(168, 87, 197)
hsl(284, 49%, 56%)
Mix amount50%
0%50%100%

What Colour Mixer Does

Colour Mixer blends two HEX colours and shows the resulting colour as HEX, RGB and HSL. The percentage slider controls how far the mix moves from Colour A toward Colour B. At 0%, the result stays at the first colour. At 50%, the blend sits halfway between both inputs. At 100%, the result reaches the second colour. This makes Colour Mixer useful when you need a controlled intermediate shade rather than a random colour.

The visible controls include native colour pickers, text fields for Colour A and Colour B, a swap action, a mix amount slider, Reset, Random colours and copy buttons for the generated HEX, RGB and HSL values. Because the result updates as the inputs and slider change, you can test small percentage movements and see whether the blended colour is suitable for states, gradients, charts, UI surfaces or palette transitions.

Colour Mixer is especially useful when two colours already exist in a design system but the middle value is missing. Instead of guessing a hover colour, disabled state, heat-map midpoint or transition shade, you can mix colours by percentage and copy the exact value. For broader palette work after the mix is chosen, Colour Palette Generator can help place the result into a complete set.

How to Use Colour Mixer

  1. Choose Colour A with the colour picker or type a HEX value into the Colour A field.
  2. Choose Colour B with the second colour picker or type a HEX value into the Colour B field.
  3. Move the Mix amount slider to control how much of the second colour is blended into the first.
  4. Check the preview and compare the generated HEX, RGB and HSL output values.
  5. Use the copy button beside the output format you need.
  6. Use Swap if the direction should be reversed while keeping the same two colours.
  7. Use Reset to return to the default colours or Random colours to explore a new pair quickly.

For accurate comparison, change the mix amount gradually. A movement from 45% to 55% can be enough to shift the perceived balance, especially when one input is much darker, brighter or more saturated than the other.

Mix Amount Results Compared

The percentage is not just a visual preference. It describes the relationship between the two inputs. Lower percentages preserve more of Colour A. Higher percentages move the result toward Colour B. This makes the slider useful for systematic colour decisions, such as creating a hover state that is only slightly different from the base colour.

Mix amountResult behaviourTypical use
0%Matches Colour AChecking the starting value before adjustment
25%Mostly Colour A with a visible influence from Colour BSubtle hover states, soft variants and small transitions
50%Balanced midpoint between both coloursGradient midpoints, chart middle values and bridge colours
75%Mostly Colour B with some influence from Colour AStronger variants that still relate to the first colour
100%Matches Colour BChecking the end value before export or copying

Choosing Between HEX, RGB and HSL Output

The mixed preview is useful, but the output format decides how the colour moves into the next task. HEX is compact and common in CSS declarations, design tokens and quick documentation. RGB is useful when an implementation needs channel values or when an alpha value may be added later in another editor. HSL is useful when you want to understand the blend in terms of hue, saturation and lightness.

Copy the format that matches the next environment. If a stylesheet stores tokens as HEX, copy HEX. If a component or chart library expects RGB strings, copy RGB. If a design note needs to explain why a colour is lighter or less saturated, HSL may communicate the result more clearly.

Practical Uses for Colour Mixer

  • Create a hover shade between a base button colour and a darker accent.
  • Find a midpoint colour for a two-colour gradient before building the final background in Gradient Generator.
  • Blend two chart colours to create an intermediate value for a scale or status range.
  • Generate a softer UI surface by mixing a bright accent with a neutral colour.
  • Compare how warm and cool colours change as the percentage moves across the slider.

Common Mixing Mistakes to Avoid

Do not assume that a mathematical midpoint always feels visually balanced. If one colour is much darker or more saturated, the 50% result may still feel dominated by that input. Do not mix colours without checking the final use case. A blended value that works as a background may be too weak for a border or too strong for text. Do not copy the first acceptable result if the mix is part of a design system; test a few neighbouring percentages and keep the one with the clearest role.

Also avoid using Random colours for final decisions without review. Random pairs are useful for inspiration, but production colours need consistency with the surrounding palette. Use Swap to understand direction, Reset when the comparison becomes messy, and copy values only after the preview and output format both match the intended use.

When Colour Mixer Is Better Than a Palette Generator

Colour Mixer is best when the problem is between two known colours. A palette generator is better when the whole colour system is still open. If the task is to find one intermediate shade, a percentage-based mix gives more control than generating a complete palette. If the task is to build several related colours for a brand, landing page or illustration, a full palette workflow gives more context.

Use Colour Mixer for specific transitions, midpoints and variants. Use a palette generator for broader exploration. Used together, the two approaches help keep colour decisions both systematic and creative: mix exact values when precision matters, then organise the strongest values into a palette when the design needs a complete colour set.

Percentage Choices for UI States

Percentage mixing is useful for interface states because it creates controlled differences from a known base colour. A hover state often needs only a small shift, while a pressed state may need a stronger movement toward a darker or more saturated colour. A disabled state may need a blend toward a neutral value rather than toward another bright accent. Colour Mixer makes those differences repeatable because the percentage records how the result was produced.

For a button system, start with the base colour as Colour A and the target direction as Colour B. Move the slider in small increments and copy the value that is visibly different without looking unrelated. For charts, use 50% as a midpoint candidate, then check nearby percentages if one side dominates. For gradients, use a middle mix only when it makes the transition smoother rather than adding a muddy centre.

  • Use small percentage shifts for subtle hover and surface variants.
  • Use stronger percentage shifts when the state must be clearly distinguishable.
  • Compare the mixed colour beside the original inputs before copying it.
  • Record the percentage if the value may need to be recreated later.

Handling Invalid or Unbalanced Inputs

The HEX text fields are useful for precise entry, but the value still needs to be valid before the output can be trusted. If a typed value is incomplete or malformed, the result cannot represent a reliable colour. The visible invalid state protects the copy actions from being treated as final values. When precision matters, paste complete HEX values and review the preview before copying HEX, RGB or HSL output.

Unbalanced inputs can also affect the perceived result. Mixing a very light pastel with a deep saturated colour may produce a result that feels closer to the darker colour even at a balanced percentage. Mixing two hues with very different saturation can create a midpoint that feels duller than expected. In those cases, use the slider as a comparison tool rather than assuming 50% is automatically the best answer.

If the output is meant for text or important UI, treat the mix as a candidate. Copy the value, test it in context and adjust the percentage if the role is not clear. The strength of Colour Mixer is not that it chooses the final colour for you; it gives a repeatable path from two known inputs to a precise result.

Final Checks Before Copying a Mixed Colour

Before copying a mixed value, compare the result with both original colours and ask what role the blend will play. If the value is meant for a hover state, it should be close enough to the base colour to feel related but different enough to communicate interaction. If the value is for a chart midpoint, it should not disappear into either endpoint. If the value is for a gradient, it should smooth the transition rather than create a dull band.

Copy the final format only after the preview, percentage and role agree. That small check makes the mixed colour easier to reuse and easier to explain later.

For repeatable design work, save the copied value with the percentage and the two source colours. That note makes it possible to recreate or adjust the blend later instead of treating the copied code as an unexplained one-off value.

Copied