Color & Math Tools
Convert colors and number bases, build gradients, and calculate percentages and units.
All 5 tools run locally in your browser.
Color Converter
POPULARConvert colors between HEX, RGB, HSL and CSS color syntax with a live preview.
Open toolGradient Generator
Build linear and radial CSS gradients with a live preview and copy-ready code.
Open toolPercentage Calculator
POPULARSolve common percentage problems: X% of Y, what percent, and percentage change.
Open toolUnit Converter
Convert between common units of length, mass, temperature, area and data size.
Open toolNumber Base Converter
Convert numbers between decimal, binary, octal and hexadecimal.
Open toolWhat these tools solve
Small conversions and calculations come up constantly in front-end and data work. These tools give you the answer immediately and show related values at the same time.
Common uses
- •Convert colors between HEX, RGB and HSL
- •Build a CSS gradient
- •Calculate percentages and changes
- •Convert units of length, mass, data and temperature
- •Switch numbers between bases
Choosing a tool
Use Color Converter for a single color, Gradient Generator for CSS output, and the calculators for numbers and units.
Most used in this category
Frequently asked questions
Can I use alpha colors?
Yes. HEX with alpha, rgba and hsla values are supported.
Does the unit converter use binary prefixes?
It supports both decimal (KB, MB) and binary (KiB, MiB) units.
Which bases are supported?
Decimal, binary, octal and hexadecimal.