Color Math

// Mix, blend, lighten, and darken colors with operations

#95639d
rgb(149, 99, 157)

#About Color Math

Free online color math tool. Mix two colors, lighten or darken colors by percentage, and find complementary colors using mathematical color operations. This tool runs entirely in your browser — your data is never sent to a server. Just paste your input, get instant results, and copy with one click. No sign-up or installation required.

#FAQ

How does color mixing work?
Color mixing averages the RGB channels of two colors. You can adjust the mix ratio to weight one color more heavily. A 50/50 mix of #FF0000 and #0000FF produces #800080 (purple).
How is a complementary color calculated?
The complement of a color is found by subtracting each RGB channel from 255. For example, the complement of #3366CC is #CC9933.
</> Embed this tool

Copy this code to embed the tool on your website. Adjust the height to fit your layout.

<iframe src="https://www.browserutils.dev/embed/color-math" width="100%" height="500" frameborder="0" title="Color Math"></iframe>

#Related