FreeDev Tools

Color Mixer

Blend two colors at any ratio β€” computed hex plus the modern color-mix() syntax.

/* Mixed color: #b06ace */
.element {
  background: #b06ace;
}

/* Modern CSS (live-computed by the browser) */
.element {
  background: color-mix(in srgb, #3b82f6 50%, #ec4899 50%);
}

/* preview */
.mix-a { background: #3b82f6; }
.mix-b { background: #ec4899; }
.mix-result, .mix-swatch { background: #b06ace; }
.mix-label::after { content: "#b06ace"; }

Generated locally in your browser β€” nothing is uploaded.

How to Use

  1. 1

    Pick two colors

    Color A and color B with native pickers.

  2. 2

    Drag the ratio

    The mixed swatch and hex update live.

  3. 3

    Copy hex or color-mix()

    Precomputed value plus the modern CSS syntax.

Frequently Asked Questions

Channels are blended in gamma-corrected space (not naive RGB averaging), which avoids the muddy grey midpoints naive mixing produces β€” closer to how paint and light actually combine.