PigmentLab
PigmentLab
Subtractive Pigment Physics & CSS color-mix()

Real Color Mixer Online & Hex Color Mixer

Standard screen tools average RGB channels into dirty brownish-grey. Our online color mixer and color mixer generator simulates true pigment absorption and light scattering — blend Blue and Yellow to get vibrant Green like real physical paint.

Mixed Color ResultReal Paint (RYB)
#3D933E
rgb(61, 147, 62)

Mixing Palette

Adjust proportions and colors to create your custom blend.

#1#002185
50%
#2#FFF600
50%
Formula: 1:1 Paint Mix

Live UI Component Preview

See how this mixed color performs in realistic design components:

CTA Button
Status TagVerified Mix
Card Headline Accent
Component preview dynamically renders the pigment mixture.
Color Formats & CSSExport
HEX#3D933E
HSL121°, 41%, 41%
CMYK59, 0, 58, 42
OKLCH0.58, 0.14, 142
Modern CSS Output
background-color: #3D933E;

Artist Pigment Quick Presets

Click any tube to load into the active slot:

#002185
#FFF600
#E60026
#FFFFFF
#171717
#8A3324
#007F5C
#00A896
#120A8F
#C68E17
#E32636
#734A12

WCAG 2.1 Accessibility

Legibility scoring
On White
3.8:1
AA FailLarge Text
On Black
5.5:1
AA PassLarge Text
Pigment Science & Code Generation

The Complete Guide to Online Color Mixing & Hex Color Generators

Discover authentic subtractive pigment blending, mix custom hex codes, and export production-ready CSS color-mix() code.

1. Why Use an Online Color Mixer with Real Pigment Physics?

An online color mixer is an essential tool for painters, crafters, graphic designers, and front-end developers who need to forecast how two or more colors combine. However, almost all standard digital graphics editors and web color tools suffer from a serious limitation: they mix colors using linear RGB channel averaging. When you attempt to blend pure blue and bright yellow in an RGB tool, the mathematical average lands on a dull, lifeless, muddy brownish-grey (#808040).

Our color mixer online solves this problem by simulating physical pigment behavior through subtractive color physics. By accounting for the physical absorption and scattering of light waves, our hex color mixer ensures that blending blue and yellow yields radiant, authentic Green (#3D933E)—exactly like mixing oil or acrylic paints on a wooden palette.

2. Color Mixing Table & Common Recipes

Color 1Color 2Physical Paint Result (Subtractive)Standard Digital RGB Result
Phthalo Blue (#002185)Cadmium Yellow (#FFF600)Vibrant Green (#3D933E)Muddy Grey (#808C43)
Cadmium Red (#E60026)Cadmium Yellow (#FFF600)Vibrant Orange (#F27B13)Desaturated Orange (#F37B13)
Phthalo Blue (#002185)Cadmium Red (#E60026)Deep Violet / PurpleDesaturated Magenta

3. How to Mix Brown Paint: Best Pigment Ratios

Mixing brown from primary or complementary paints is one of the most frequent studio questions. Because brown is a balanced neutral rather than a primary hue, try these three reliable recipes in the simulator:

Method A: 3 Primaries

Blend Red + Yellow + Blue in roughly equal parts. Bias toward Yellow for warm ochre brown or toward Red for chestnut.

Method B: Complementaries

Mix opposite hues such as Red + Green or Blue + Orange. Complementary pigment pairs neutralize cleanly into natural earth browns.

Method C: Tint & Deepen

Add Titanium White for beige and sand tones, or a touch of Ultramarine Blue instead of black for rich dark chocolate browns.

Want to pick true complementary pairs to neutralize or shade your mixture? Open the Johannes Itten Bauhaus Color Wheel →

3. Step-by-Step: How to Mix Colors Online with Real Paint Physics

Follow these four steps to simulate physical pigment mixing and generate production CSS:

  1. 1

    Select a Blend Mode

    Pick "Real Paint (RYB)" for Kubelka-Munk pigment absorption, "Modern Web (OKLCH)" for CSS color-mix(), or RGB/CMYK modes.

  2. 2

    Load Pigments or Custom HEX Codes

    Add up to 6 color slots, paste custom HEX codes, or load studio oil pigments like Phthalo Blue and Cadmium Yellow.

  3. 3

    Dial Proportion Sliders (1%–100%)

    Drag each slot slider to test exact ratios and watch the mixed swatch and parts recipe update instantaneously.

  4. 4

    Validate WCAG Contrast & Export Code

    Inspect the live UI component preview, check WCAG 2.1 AA/AAA scores, and copy HEX, RGB, HSL, CMYK, OKLCH, or CSS snippets.

4. Who Uses the PigmentLab Online Color Mixer?

Built for both physical studio artists and modern digital creators:

Fine Art

Oil, Acrylic & Watercolor Painters

Preview pigment mixtures and brown neutralization recipes digitally before squeezing paint onto your physical palette.

Frontend & UI

UI Designers & CSS Engineers

Generate modern CSS color-mix(in oklch, ...) tokens and verify WCAG 2.1 AA/AAA legibility on white and dark surfaces.

Print & Packaging

Print & Brand Specialists

Switch between RYB pigment mixing and CMYK ink behavior to anticipate how inks and spot colors combine.

Education

Art Teachers & Design Students

Demonstrate why subtractive light absorption differs from additive RGB pixel averaging in live classroom demos.

5. Key Benefits of PigmentLab Mixer

  • ✓True Kubelka-Munk optical modeling—Blue + Yellow yields vibrant emerald Green instead of muddy RGB grey.
  • ✓Four blend engines in one workspace: Real Paint (RYB), OKLCH, Linear RGB, and CMYK.
  • ✓Up to 6 weighted pigment slots with live recipe ratios and custom local presets.
  • ✓Built-in WCAG 2.1 AA/AAA contrast ratings and live UI button/card previews.
  • ✓100% browser-based, private, and free with zero account walls.
Scientific Citations & Web Standards

Academic References & Specifications

Frequently Asked Questions

How to mix these colors online?▼

To mix colors online in PigmentLab, select your preferred blend mode (Real Paint for physical pigment physics or Modern Web for OKLCH gradients), add your colors by entering custom HEX codes or selecting artist oil pigments, and drag the proportion sliders from 1% to 100%. The mixed result, CSS color-mix() code, and WCAG contrast scores update in real time.

How can I mix all colors together?▼

In PigmentLab's Real Paint mode (subtractive mixing), blending all primary colors together (Blue, Yellow, and Red) causes the pigments to absorb visible light wavelengths, resulting in a rich dark brown or near-black just like physical paint. In contrast, mixing all colors in Digital Screen mode (additive RGB light) combines wavelengths toward pure white.

How does this online color mixer simulate real paint blending?▼

Our online color mixer implements realistic subtractive pigment optics. Unlike standard digital tools that linearly average RGB light channels, our physical pigment model simulates how particles absorb and scatter specific light wavelengths, producing vibrant Green when mixing Blue and Yellow.

How do I mix brown using primary colors?▼

To mix brown in our paint simulator, blend Red and Green, or mix Blue, Yellow, and Red in a 1:2:2 ratio. You can also mix complementary colors like Orange and Blue with a touch of Yellow Ochre for rich earthy brown tones.