Color Swatch to CSS - Online Palette to Variables
Paste a list of hex colors and generate CSS custom properties for them. Create your design token file instantly.
UD5 Toolkit
Build, save & export your perfect color palette — free online tool
Your palette is empty
Start by picking a color, typing a hex code, or hitting Random
--color-1: #6C5CE7;), as a JSON array for developers, or as comma-separated values. Your palette is also automatically saved to your browser's local storage, so it persists even after closing the tab.
Paste a list of hex colors and generate CSS custom properties for them. Create your design token file instantly.
Enter a color palette and see how it looks for different types of color vision deficiency. Get warnings on conflicting colors.
Build a palette and simulate how it appears to various color deficiencies. Also generate pre-vetted accessible palettes. Local processing.
Start with a base color and generate an extended palette where every shade contrasts properly with white and black. Export tokens.
Get a beautiful, hand‑picked color combination instead of purely random. Each palette has a name and copyable hex codes.
Pick a source color and generate a complete M3 tonal palette with light/dark schemes. Export as CSS custom properties.
Discover beautiful color palettes for your projects. Generate random, complementary, or trendy schemes and copy hex codes. Useful for designers and developers.
Pick a base color and generate a full palette of 10 shades (50 to 900) like Tailwind CSS. Copy as hex or hsl.
Generate a range of tints and shades from a single hex color. Ideal for data visualization, UI design systems, and Tailwind custom palette creation. Local tool.
Pick colors from a palette or use the eye dropper to sample colors from your screen. Converts between HEX, RGB, HSL. An essential tool for designers.
Generate single random colors or full palettes. Displays hex, RGB, and copy on click. Great for design inspiration.
See the Pantone Colors of the Year and popular palettes from past years. Get hex codes. Design inspiration.
Fetch a website's CSS and extract :root custom properties (‑‑color) to reveal its design token palette. For learning and inspiration.
Select emotions (calm, energetic, sad) and generate a harmonious color palette that reflects the mood.
Paste hex colors, generate a contrast matrix against each other. Identify failing pairs for WCAG.
Write modern CSS color functions like oklch(), lab(), hwb() and see the rendered color with fallback. Copy compatible code.
Generate a random 5‑color palette where every adjacent pair passes WCAG AA contrast. Safe for inclusive designs.
Build a color palette for charts that works for protanopia, deuteranopia, and grayscale. Export as array.
Enter an image URL to extract a 5-color dominant palette. Avoids uploading files. Uses canvas to read remote image pixels. Fast and privacy-oriented.
Paste a stylesheet and extract every unique color (hex, rgb, hsl) into a palette. Swatches displayed. Copy as JSON.
Type a word like 'sunset' or 'calm' and generate a color palette inspired by that mood. Simple associative mapping.
Extract a color palette from an image using CIELAB k‑means quantization. Results are perceptually more accurate than RGB methods.
Upload a gradient or enter a palette and simulate how it appears with different types of color vision deficiency. Ensure inclusive data visualization.
Upload a photo and extract a smooth CSS gradient that represents its color mood. Copy the linear-gradient code.
Generate a palette of N colors that are maximally distinguishable for common color vision deficiencies. Copy the hex codes.
Paste an image from your clipboard directly into the page (Ctrl+V) and extract its color palette. No file dialog needed.
Paste a set of hex colors and simulate how they appear with common color vision deficiencies. Get contrast warnings.
Paste a direct link to an image and get its 5 dominant colors with hex codes. No upload, uses canvas with CORS proxy.
Upload any picture and instantly get a 5‑color palette. Useful for UI design themes. Canvas‑based extraction.
A dedicated color picker with common retro gaming palettes (NES, Gameboy). Pick and copy hex codes. For pixel art creators.