Colour Mixer
Blend two colours by percentage, preview the result and copy the mixed HEX, RGB or HSL value.
Blend two colours by percentage, preview the result and copy the mixed HEX, RGB or HSL value.
#A857C5rgb(168, 87, 197)hsl(284, 49%, 56%)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.
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.
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 amount | Result behaviour | Typical use |
|---|---|---|
| 0% | Matches Colour A | Checking the starting value before adjustment |
| 25% | Mostly Colour A with a visible influence from Colour B | Subtle hover states, soft variants and small transitions |
| 50% | Balanced midpoint between both colours | Gradient midpoints, chart middle values and bridge colours |
| 75% | Mostly Colour B with some influence from Colour A | Stronger variants that still relate to the first colour |
| 100% | Matches Colour B | Checking the end value before export or copying |
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.
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.
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 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.
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.
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.