Color Tools
Start with a palette or image, lock the colors you want to keep, and refine the rest. Choose readable text for a solid background or build a CSS gradient, with conversion and contrast tools for the final details.
Choose the right tool
- Preview five role colors on a page and copy CSS custom properties: Color Palette Preview
- Find five colors and keep favorites while regenerating: 5-Color Palette Generator
- Find text colors that meet a selected contrast target on a solid background: Readable Text Color
- Create and edit a two- or three-color CSS gradient: Random Gradient Generator
- Convert HEX, RGB, HSL, HSV, or CMYK values: Color Converter
- Sample one point in an image: Image Color Picker
- Extract the main colors of an image: Image Color Palette Extractor
- Measure the contrast of an existing text/background pair: Color Contrast Checker
- Make tints, shades, and transparency variations of one base color: Color Variations Generator
A practical guide to choosing website colors
Move from inspiration to a locked palette, useful shades, readable text, and a CSS gradient with a clear role for each color.
Tools
5-Color Palette Generator
Create a five-color palette for a website, presentation, or illustration. Keep a color you like and explore new combinations around it.
Website Color Palette Preview
Apply five colors to a website mockup, check text contrast, and export semantic CSS variables.
Readable Text Color Generator
Find readable text colors for your background, with WCAG contrast ratios and live previews.
Random Gradient Generator
Create random CSS linear gradients with two or three colors, edit HEX values, and copy or download the CSS.
Color Converter
Convert color codes instantly between HEX, RGB, HSL, HSV/HSB, and CMYK with live preview and one-click copy.
Image Color Picker
Find the HEX and RGB values of a color in an image. Upload a photo or paste a screenshot, then click the area you want to sample.
Image Color Palette Extractor
Extract the main colors from an image and generate a color palette. All processing happens in your browser; the image is not uploaded to a server.
Color Contrast Checker
Check color contrast ratio and WCAG accessibility compliance between foreground and background colors
Color Variations Generator
Generate lighter, darker, alpha, and contrast-sufficient color variations
Simple workflow
Get inspiration and lock favorites with 5-Color Palette Generator → find text for a solid background with Readable Text Color → make a decorative background with Random Gradient Generator . Check text contrast at different positions across the gradient.
Color tools FAQ
Which color format should I use for CSS?
HEX, RGB, HSL, and modern CSS color syntax all work in browsers. HEX is compact, RGB is useful with opacity, and HSL is often easier when adjusting hue, saturation, or lightness.
What can I use CMYK conversion for?
Use CMYK conversion to estimate print color values. For final print colors, check the color profile, paper, and output settings with your printer or design software.
Can I pick colors from a local image?
Yes. The image color tools process local images in your browser to pick individual colors or extract a palette.
How do I check if text is readable on a background?
Use the Color Contrast Checker with your text color and background color. It calculates the contrast ratio and indicates whether the combination meets common accessibility targets.