Free Online Color Tools Suite
Our Color Tools suite brings together the most essential color utilities developers and designers need into a single page. All processing runs entirely in your browser using pure JavaScript math — no server calls, no libraries, no data uploaded.
What's Included
- Color Converter: Instantly convert between HEX, RGB, HSL, and CMYK formats. Edit any field and all others update in real time.
- WCAG Contrast Checker: Test foreground/background color pairs against WCAG 2.1 accessibility standards. See pass/fail results for AA and AAA levels, with color suggestions.
- Tints & Shades Generator: Generate a full 11-step scale (50-950) from any base color. Export as CSS custom properties, Tailwind config, or SCSS map.
- Palette Extractor: Upload an image and extract its dominant colors using Canvas API pixel sampling.
Understanding Color Formats
HEX
Hexadecimal color codes like #FF5733 represent colors using base-16. Each pair of digits encodes red, green, and blue (0-255 as 00-FF). Shorthand like #F00 expands to #FF0000.
RGB
rgb(255, 87, 51) uses decimal values 0-255 for each channel. This maps directly to how screens display color by mixing red, green, and blue light.
HSL
hsl(14, 100%, 60%) describes color using Hue (0-360\u00B0 on the color wheel), Saturation (0-100%), and Lightness (0-100%). More intuitive for humans than RGB.
CMYK
cmyk(0%, 66%, 80%, 0%) is used in print. Cyan, Magenta, Yellow, and Key (black) are subtracted from white. Not natively supported in CSS but essential for print design.
WCAG Contrast Requirements
The Web Content Accessibility Guidelines (WCAG) 2.1 define minimum contrast ratios to ensure text readability for users with visual impairments.
Contrast Levels
| Level | Normal Text | Large Text |
|---|
| AA | 4.5:1 | 3:1 |
| AAA | 7:1 | 4.5:1 |
Large text is defined as 18pt (24px) or 14pt bold (18.66px bold).
The contrast ratio formula uses relative luminance: (L1 + 0.05) / (L2 + 0.05) where L1 is the lighter color.
Frequently Asked Questions
How is the tint/shade scale generated?
We convert your base color to HSL, then generate 11 steps by mapping fixed lightness values (97% for step 50 down to 10% for step 950) while preserving the hue and saturation.
How does the palette extractor work?
The image is drawn to a small canvas (max 100px) for performance. We bucket pixels into groups by quantizing RGB values, then select the most frequent buckets while filtering out colors that are too similar (Euclidean distance < 60 in RGB space).
Why don't my CMYK values match my print software?
Our CMYK conversion uses a simple formula without ICC color profiles. Professional print workflows use device-specific profiles which produce different CMYK values for accurate color reproduction.
Is my data sent to any server?
No. All conversions, contrast calculations, and image analysis run entirely in your browser. Images are processed locally using the Canvas API and are never uploaded.