Color Reverse Calculator & Mixer

Use the reverse calculator to solve for a missing color, the color mixer to blend two or three RGB colors by ratio, and the opposite-color result for a quick channel inversion.

Try a quick example

Load a common RGB mix or reverse-color calculation.

Fixed Color 1

Fixed Color 2

Target Color

Fixed Ratio
Fixed 1 Ratio
Fixed 2 Ratio
Required Color Ratio
Sum of ratios must be < 100%
R
G
B
Nearest Pantone (Coated)

Target color is unreachable. Showing closest possible match.

1. Color 1

2. Color 2

3. Result Color

Mix Ratio (Color 1)
R
G
B

Opposite color

RGB channel inversion of the current .

How the color calculator works

The Reverse Calculator assumes that your target color is a weighted mix of one or more fixed colors and an unknown color. For the 2‑color mode it uses the model target = fixed × R + unknown × (1 − R). With a known fixed color F, target color T and mixing ratio R (between 0 and 1), the required color C is solved channel‑by‑channel as C = (T − F × R) / (1 − R).

In 3‑color mode the tool models the target as target = fixed1 × r1 + fixed2 × r2 + unknown × r3, where r3 = 1 − r1 − r2. It then solves the unknown color for each RGB channel using C = (T − F1 × r1 − F2 × r2) / r3. If the calculation produces values slightly outside the 0–255 RGB range, the result is clamped back into 0–255 and shown as a "Closest Possible Match".

The Color Mixer mode does the forward calculation: result = color1 × R + color2 × (1 − R), again evaluated separately for the R, G and B channels. For both modes, the tool updates HEX and RGB values in real time and also searches the coated Pantone palette for the nearest color to the computed result.

Common RGB color calculations

How to Mix Two RGB Colors by Ratio

Choose two HEX or RGB colors, then move the ratio slider. The result updates instantly using the selected percentage of Color 1 and the remaining percentage of Color 2.

How to Find a Missing Color in a Mix

Enter the fixed color, target color, and fixed-color ratio. The reverse calculator solves the missing RGB color needed to reach the target.

How to Calculate the Opposite of a Color

The opposite-color result inverts every RGB channel using 255 minus the channel value, producing an exact digital channel inversion.

RGB Color Mixing vs Paint Mixing

This calculator uses RGB channel mixing for digital colors. Physical paint, ink, and pigment mixing can produce different results because they follow subtractive color behavior and material-specific properties.

Pick an exact HEX or RGB value from an uploaded image, then use it in this calculator.

Open Image Color Picker