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.
Select a color and see which cocktails match it roughly. Blue for Blue Lagoon, red for Negroni. Fun bar guide.
Grid of all 148 named CSS colors. Hover to see detail, click to copy the name or hex. Essential frontend reference.
Upload an image and instantly get a 6‑color palette with the most dominant shades. Click to copy hex codes. Canvas‑based.
Paste a stylesheet and extract every unique color (hex, rgb, hsl) into a palette. Swatches displayed. Copy as JSON.
Find the official name of any hex color from the extended color dictionary. Search by name to get the hex code. Handy for CSS and design language.
Classic HSV color wheel with sliders. See hex, RGB, and HSL equivalents. Intuitive for artists. No server interaction.
Paste a list of hex colors and see a grid showing the contrast ratio for every combination. Instantly identifies which pairs pass WCAG AA/AAA.
Select colors in the OKLCH space with lightness, chroma, and hue. Convert to hex, RGB, and CSS oklch(). Perceptually uniform gradients.
A complete, searchable list of all 140+ named HTML/CSS colors with their hex codes and color previews. Click to copy code. Essential web reference.
Choose a base color and see its complementary, split‑complementary, triadic, and tetradic harmonies. Copy palettes. Local.
Enter color in any CSS format and see all other representations. Live preview. Swatch history.
Convert RGB and RGBA color values to their HEX or HEX+alpha representation. Live preview and copy CSS color strings instantly.
Enter HSL values and get the exact RGB representation. Also shows hex. For fine‑tuning design tokens. Client‑side.