Color Math
Mix, blend, lighten, and darken colors with operations.Runs in this tab.⌘ ↵ runs it
#95639d
rgb(149, 99, 157)
Next step
AtriumKitFrom the team behind browserutils
Turn a click-through into an interactive demo
AtriumKit records your web app once in Chrome and turns every click into a step of a demo you can embed or share. There’s a free plan.
Try AtriumKit freeAbout Color Math
Free online color math tool. Mix two colors, lighten or darken colors by percentage, and find complementary colors using mathematical color operations. It runs in your browser. Nothing is sent to a server.
Questions
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.
How do I lighten or darken a color by a specific percentage?
Use the lighten/darken controls and set a percentage. Lightening blends the color toward white, and darkening blends it toward black. A 50% lighten on pure red (#FF0000) produces #FF8080.
What color format does the color math tool accept?
Enter colors as hex codes (e.g., #3366CC or 3366CC). The tool displays results in hex, RGB, and HSL so you can copy whichever format your project uses.
Does this color math tool work offline?
Yes. All color calculations happen in your browser. No data is sent to a server, and the tool works without an internet connection after the initial page load.
Comments
More in Math & Calculators
- Percentage Calculator
- Aspect Ratio Calculator
- Bitwise Calculator
- Scientific Calculator
- Hex Calculator
- Binary Calculator
- Matrix Calculator
- GCD & LCM Calculator
Comments