Realistic Color Mixer
Mix two or more colors the way real paint behaves, using Kubelka-Munk spectral theory (the same principle behind Spectral.js) instead of naive RGB averaging. Blue and yellow make green, not grey. Pick your colors below and see the physically accurate result.
Colors to Mix
Mixed Result
Compare with plain RGB averaging
The top result is spectral (Kubelka-Munk). The bar above is a plain channel average — often duller and greyer than real pigments.
Mixing gradient (first two colors, spectral vs RGB)
How It Works
Why not just average the RGB values?
Screens create colour by adding light, so averaging red, green and blue channels models mixing beams of light, not pigment. Real paint mixes by subtraction: each pigment absorbs some wavelengths and reflects others, and the mixture absorbs everything either pigment would. Averaging RGB of blue and yellow gives a lifeless grey; real paint gives green.
Kubelka-Munk theory
The Kubelka-Munk model describes how light is absorbed (K) and scattered (S) inside a diffuse, light-scattering layer such as paint. For each wavelength it relates reflectance R to the ratio K/S:
To mix pigments we work per wavelength:
- Upsample to a spectrum. Each colour is expanded from RGB into a smooth reflectance curve across the visible band (blue+yellow now genuinely overlap in the greens).
- Convert to K/S. Each reflectance value becomes an absorption-to-scatter ratio.
- Blend K/S linearly, weighted by each colour's amount — this is the physical heart of the mix.
- Back to reflectance with the inverse relation, then back to RGB for your screen.
Everything runs in your browser — no data leaves your device. The spectral upsampling uses a partition-of-unity basis so a single unmixed colour round-trips back to exactly its input value.
Related Utils
Feedback
Help us improve this page by providing feedback, and include your name/email if you want us to reach back. Thank you in advance.
Sending...
Feedback sent. Thank you!
Error occurred!
-
-
-
-
-
-
-
-
- ABI Encoder / Decoder
- Block Estimator
- Calldata Cost
- CREATE2 Address
- ENS Availability
- ENS Cost Estimator
- ENS Lookup
- ENS Namehash
- ENS Record Viewer
- ENS Subname Explorer
- ERC-20 Unit Converter
- Gas Estimator
- HD Wallet Derivation
- Merkle Tree Visualizer
- 4-Byte Selector Lookup
- Solidity Storage Layout
- Transaction Decoder
- Vanity Address Estimator
- Wallet Address Validator
- Wei/Gwei/Ether Converter
-
-
-
-
-
- API Response
- ASCII Table
- Code Bug Detector
- Code Explanation
- CSS Beautifier
- Env Parser
- GraphQL Query
- Syntax Highlight
- HTML Beautifier
- JS Beautifier
- JSON Formatter
- JSONPath
- JWT Decoder
- JS keyCodes
- API Lorem Ipsum
- RegExp
- Regex Library
- Semver Compare
- SQL Beautifier
- Temporal Date Explorer
- TOML Formatter
- Code Unminifier
- XML Beautifier
-
-
-
-
- Air Fryer Converter
- Baking Ratio
- Brining Calculator
- Caffeine Tracker
- Canning & Preserving
- Coffee Ratio Calculator
- Cooking Units
- Defrost Time Estimator
- Egg Size Converter
- Homebrew ABV
- Ingredient Substitution
- Meat Doneness Guide
- Oven Temp Converter
- Pan Size Converter
- Recipe Scaler
- Smoke Point Reference
- Sourdough Hydration
-
-
-
-
-
-
-
-
-
-
-
-
- Amortization
- Break-Even
- Budget Planner
- Compound Interest
- Crypto Profit/Loss
- Debt Payoff
- Discount
- Effective Interest
- Emergency Fund
- Inflation Calculator
- Simple Interest
- Invoice Calculator
- IRR Calculator
- Mortgage
- Net Worth Calculator
- NPV Calculator
- Portfolio
- Profit Margin
- Property Decider
- Rent vs Buy
- Retirement Calc
- ROI Calculator
- Salary vs Hourly
- Savings Goal
- Subscription Cost Tracker
- Tax Calculator
- VAT
-
-
-
-
-
-
- BAC Calculator
- Blood Pressure
- Blood Sugar
- Body Mass Index
- BMR Calculator
- Body Fat Calculator
- Body Surface Area
- Calorie Calculator
- Heart Rate Zones
- Ideal Weight
- Macro Calculator
- 1RM Calculator
- Ovulation Calculator
- Pace Calculator
- Pregnancy Calculator
- Protein Intake
- Sleep Calculator
- TDEE Calculator
- Training Zone
- VO2 Max
- Water Intake
-
-
-
- Background Remover
- Face Blur
- Favicon Generator
- GIF Maker
- Image Compressor
- Crop Image
- Image Filter
- Image Flipper
- Image Metadata
- Negative Colors
- Image Resizer
- Image Rotator
- Image to ASCII Art
- Image to Base64
- AI Image Upscaler
- Image Watermark
- JPG to PNG
- Meme Generator
- Image Object Detector
- OCR - Image to Text
- Passport Photo Maker
- Photo Collage Maker
- PNG to JPG
- SVG Studio
-
-
-
- Equation Solver
- Exponent Calculator
- Factorial Calculator
- Fibonacci Sequence
- Fraction Calculator
- Fraction Simplifier
- GCD Calculator
- GCD/LCM
- Least Common Multiple (LCM) Calculator
- Logarithm Calculator
- Magic Square
- Matrix Calculator
- Number Base Converter
- Pascal's Triangle
- PDE Solver
- Prime Checker
- Prime Factorization
- Roman Numbers
- Scientific Notation
-
-
-
-
-
-
-
-
-
-
- Electric Field Calculator
- Kinetic & Potential Energy Calculator
- Force Calculator (F=ma)
- Gravitational Force Calculator
- Momentum Calculator
- Ohm's Law Calculator
- Physics Simulator
- Projectile Motion Calculator
- Physics Unit Converter
- Velocity & Acceleration Calculator
- Wave Properties Calculator
- Work & Power Calculator
-
- Daily Journal
- Daily Planner
- Eisenhower Matrix
- Focus Mode Timer
- Goal Tracker
- Habit Tracker
- Infinite Whiteboard
- Kanban Board
- Meeting Cost
- Meeting Notes Template
- Scratchpad
- Pomodoro Timer
- PowerPoint Generator
- Pros and Cons List
- Random Decision
- Reading Time
- Signature Pad
- Sticky Notes
- Task Estimator
- Time Tracker
- Todo List
- Typing Speed Test
- Words Per Minute
-
-
-
-
-
-
-
- Broken Link Checker
- Canonical URL Checker
- Core Web Vitals Checker
- Favicon
- Heading Structure
- Keyword Density
- Meta Tags
- Mobile-Friendly Test
- Open Graph Tags
- Page Load Time Analyzer
- Redirect Checker
- robots.txt
- Schema Markup
- SEO Optimized Checklist
- XML Sitemap
- Time on Page Tracker
- Page Title & Desc.
- Twitter Card Generator
-
-
-
-
- Case Converter
- Character Frequency
- Fancy Text Generator
- Regex Find & Replace
- Line Number Adder
- Lorem Ipsum
- Lowercase
- Number to Words
- Remove Duplicates
- Replace
- Reverse Text
- Slug Generator
- Sort Lines
- Speech to Text
- Counter
- Text Diff
- Text Diff Viewer
- Text to Speech
- Titlecase
- Uppercase
- Whitespace Normalizer
- Words Frequency
-
-
-
- Acceleration
- Substance Amount
- Angle
- Area
- Astronomical
- Base Converter
- Capacitance
- Electric Charge
- Clothing Size Converter
- Data Transfer
- Data Storage
- Density
- Energy Converter
- Force Converter
- Frequency Converter
- Fuel Economy
- Illuminance
- Inductance
- Length / Distance
- Power
- Pressure
- Electrical Resistance
- Ring Size Converter
- Time
- Shoe Size Converter
- Speed
- Temperature
- Viscosity
- Volume
- Weight
-
-
-
-
- Clear UX Checklist
- Dark Mode Checker
- Mobile vs Desktop
- DOM to Image
- Error Handling Checker
- Fast Load Time Checker
- Headers
- htpasswd
- HTTP Status Codes
- Input Validation Checker
- Responsive Checker
- Popular Pages
- Robots.txt
- RSS Feed Reader
- Search Queries
- Web Page Text Extractor
- URL Parser
- User Agent Parser
- WebSocket Tester
-
-