CSS Variable Theme Switcher - Online Dark/Light Generator
Design a light and dark theme by picking colors for backgrounds, text, and links. Get the CSS for both themes. Local.
UD5 Toolkit
Test and preview the CSS light-dark() color function.
Define colors for light & dark modes, preview them side-by-side, and copy ready-to-use CSS code.
This text adapts to your chosen color.
Action ButtonThis text adapts to your chosen color.
Action Button
Tip: Use light-dark() inside elements that have color-scheme: light dark set on them (or an ancestor).
Design a light and dark theme by picking colors for backgrounds, text, and links. Get the CSS for both themes. Local.
Write modern CSS color functions like oklch(), lab(), hwb() and see the rendered color with fallback. Copy compatible code.
Dynamically blend two colors using the CSS color‑mix() function in different color spaces. Copy the exact CSS snippet. No JS required.
Test the upcoming contrast‑color() CSS function. Get white or black automatically for a given background. See it live.
Enter a color palette and see how it looks for different types of color vision deficiency. Get warnings on conflicting colors.
Interactively create colors in HWB space and get the CSS hwb() function. Simplifies tint/shade workflows. Live preview.
Pick a color in the Display‑P3 space and get the CSS color() function. See the difference from sRGB. For modern design.
Paste body text and test different font/background combos. See an actual passage rendered, not just a ratio. True feel for legibility.
Set a custom accent color for checkboxes, radios, range, and progress. See the browser’s rendering. Copy the CSS.
Build a palette and simulate how it appears to various color deficiencies. Also generate pre-vetted accessible palettes. Local processing.
Grid of all 148 named CSS colors. Hover to see detail, click to copy the name or hex. Essential frontend reference.
Paste hex colors, generate a contrast matrix against each other. Identify failing pairs for WCAG.
Enter a palette of colors and see a grid showing whether each foreground/background pair passes AA or AAA contrast. Must for designers.
Pick colors using the HWB (Hue‑Whiteness‑Blackness) model. Get the CSS hwb() function code. Simpler than HSL for some.
Type a CSS color name like 'tomato' or 'mediumseagreen' and instantly get its hex code and preview. Complete named colors list.
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.
Enter a CSS selector and see its specificity broken down into A,B,C columns with a visual weight comparison. Learn specificity.
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.
Pick a base color and generate a full palette of 10 shades (50 to 900) like Tailwind CSS. Copy as hex or hsl.
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.
Enter color in any CSS format and see all other representations. Live preview. Swatch history.
Discover beautiful color palettes for your projects. Generate random, complementary, or trendy schemes and copy hex codes. Useful for designers and developers.
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.
List up to 10 colors and generate a contrast ratio matrix. See which pairs pass WCAG quickly.
Fetch a website's CSS and extract :root custom properties (‑‑color) to reveal its design token palette. For learning and inspiration.
Test if your display supports HDR colors by rendering a gradient in Rec.2020 space. See what you're missing. Canvas based.
Pick a source color and generate a complete M3 tonal palette with light/dark schemes. Export as CSS custom properties.
Paste a list of hex colors and generate CSS custom properties for them. Create your design token file instantly.
Paste a stylesheet and extract every unique color (hex, rgb, hsl) into a palette. Swatches displayed. Copy as JSON.
Use the browser's native eyedropper tool to pick any color from the screen. Shows zoomed preview. Quick and easy.