GamutDesk Logo
GamutDesk

Nonlinear Quadratic RGB Color Mixer

Blend two colors with weighted proportions using nonlinear quadratic (root-mean-square) RGB blending to avoid muddy linear averaging.

Client-Side ArchitecturePrivate Client-Side Processing
Color 1: 50%Color 2: 50%
#AF84A6
Mixed Hex
#AF84A6
Mixed RGB
rgb(175, 132, 166)
Mixed HSL
hsl(313, 21%, 60%)

Technical Specification & Mathematical Principles

Colors are blended using root-mean-square quadratic interpolation: C_mixed = √[ w * C1² + (1 - w) * C2² ] where w is the decimal proportion weight.

This nonlinear channel interpolation mitigates the muddy gray band typical of naive arithmetic averaging, providing vibrant visual transitions for digital palettes.

Frequently Asked Questions

Why does quadratic mixing look brighter than simple linear averaging?
Standard human brightness perception is nonlinear. Naive arithmetic averaging of gamma-encoded sRGB values produces a noticeably dark or desaturated middle band. Quadratic blending interpolates the square of channel values, yielding a brighter transition that better approximates uniform luminance.
How does digital RGB blending differ from physical paint mixing?
Digital screens use additive light (RGB), whereas physical paint uses subtractive mixing (pigments absorbing wavelengths). While true subtractive mixing requires spectral absorption data (like Kubelka-Munk modeling), quadratic RGB blending provides a visually vibrant approximation for screen design.
How do I reverse the mixing proportion?
Adjusting the slider to 100% outputs 100% of Color 1; adjusting to 0% outputs 100% of Color 2. Setting it to 50% yields a 1:1 balanced blend.

Related Design & Color Instruments