Home / Tools / Web and CSS
Color Converter
HEX, RGB and HSL conversion with a contrast checker.
Runs in your browserFree, no sign-up
Loading tool…
How to use it
- Type a HEX, RGB or HSL value, or use the picker.
- Copy the format you need.
- Check contrast against a text color.
About this tool
Pick or type a color in any format and get the others, ready to paste into CSS. The contrast checker shows the WCAG ratio against white and black and against a second color, so you can tell if text will be readable.
Your input is processed on your device. Nothing is sent to a server or stored.
Questions
What contrast ratio do I need?
WCAG AA asks for at least 4.5:1 for normal text and 3:1 for large text.
Web and CSS
All web and cssMore tools like this
Web and CSSUnix Timestamp ConverterConvert Unix timestamps to dates and dates to timestamps.Open →Web and CSSMarkdown PreviewWrite Markdown and see the result, then copy the HTML.Opens filesOpen →Web and CSSCSS Minifier & BeautifierMinify CSS for production or beautify it to read.Opens filesOpen →Web and CSSCSS Gradient GeneratorDesign linear, radial and conic gradients and copy the CSS.Open →Web and CSSCSS Box Shadow GeneratorBuild layered box shadows visually and copy the CSS.Open →Web and CSSColor Contrast CheckerCheck text and background colors against WCAG AA and AAA.Open →Web and CSSMeta Tag GeneratorSEO, Open Graph and Twitter meta tags with a live preview.Open →Web and CSSRobots.txt GeneratorCreate a robots.txt with rules, AI-bot blocking and sitemap.Open →