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
Visually customize Bootstrap 5.3 CSS variables in real-time. Generate your perfect theme, preview components, and export ready-to-use CSS.
This card uses your theme's colors, typography, and border radius settings.
Card Link Another Link:root variable declarations to your clipboard, or click "Download .css" to save them as a .css file.<head> section. This ensures your custom variables override Bootstrap's defaults.<link href="bootstrap.min.css" rel="stylesheet"><link href="my-custom-theme.css" rel="stylesheet">--bs-primary, --bs-secondary, --bs-success, --bs-danger, --bs-warning, --bs-info, --bs-light, --bs-dark and their RGB counterparts.--bs-body-color, --bs-body-bg for text and background colors.--bs-border-radius, --bs-border-radius-sm, --bs-border-radius-lg.--bs-font-sans-serif, --bs-body-font-size, --bs-body-line-height.--bs-spacer which affects all spacing utilities (margin/padding classes).--bs-link-color, --bs-link-color-rgb, --bs-link-hover-color, --bs-link-hover-color-rgb.--bs-primary are native browser features that work at runtime. They can be overridden dynamically without recompilation, support inheritance, and can be changed via JavaScript. Bootstrap 5.3 uses CSS variables extensively, making runtime theming possible.--bs-body-bg to a dark color (like #212529) and --bs-body-color to a light color (like #dee2e6).#6ea8fe for primary blue instead of #0d6efd.[data-bs-theme="dark"] selector for Bootstrap 5.3's built-in dark mode support, or use a class-based approach.prefers-color-scheme: dark media query to automatically apply the dark theme based on the user's system preferences.
--* variables) are supported in all modern browsers, including Chrome (49+), Firefox (31+), Safari (9.1+), Edge (15+), and Opera (36+). According to Can I Use, CSS variables have over 97% global browser support as of 2025.Paste a list of hex colors and generate CSS custom properties for them. Create your design token file instantly.
Fetch a website's CSS and extract :root custom properties (‑‑color) to reveal its design token palette. For learning and inspiration.
Paste your CSS and get a sorted list of all custom properties defined under :root with their values. Quick audit.
Design a light and dark theme by picking colors for backgrounds, text, and links. Get the CSS for both themes. Local.
Style the <progress> and <meter> elements with cross‑browser CSS. Adjust colors and sizes. Copy the final styles.
Style an `<input type='range'>` with custom track and thumb. Cross‑browser CSS. Preview and copy the code.
Pick a source color and generate a complete M3 tonal palette with light/dark schemes. Export as CSS custom properties.
Design custom radio buttons and checkboxes using pure CSS. Choose sizes, colors, and animation. Copy the code.
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.
Select emotions (calm, energetic, sad) and generate a harmonious color palette that reflects the mood.
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.
Dynamically blend two colors using the CSS color‑mix() function in different color spaces. Copy the exact CSS snippet. No JS required.
Pick a color in the Display‑P3 space and get the CSS color() function. See the difference from sRGB. For modern design.
Generate single random colors or full palettes. Displays hex, RGB, and copy on click. Great for design inspiration.
Paste a stylesheet and extract every unique color (hex, rgb, hsl) into a palette. Swatches displayed. Copy as JSON.
Select shoe size and riding style to get recommended deck width. Visual comparison.
Type a CSS color name like 'tomato' or 'mediumseagreen' and instantly get its hex code and preview. Complete named colors list.
See the Pantone Colors of the Year and popular palettes from past years. Get hex codes. Design inspiration.
Experiment with CSS container queries. Resize a container and see the styles change according to its size, not the viewport. Learn the new spec.
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.
Interactively create colors in HWB space and get the CSS hwb() function. Simplifies tint/shade workflows. Live preview.
Use named grid lines instead of column numbers. See how they simplify placement. Visual, interactive learning.
Get a beautiful, hand‑picked color combination instead of purely random. Each palette has a name and copyable hex codes.
Build a palette and simulate how it appears to various color deficiencies. Also generate pre-vetted accessible palettes. Local processing.
Enter a CSS selector and see its specificity broken down into A,B,C columns with a visual weight comparison. Learn specificity.
A replica of the famous Flexbox Froggy game: solve alignment puzzles by writing CSS. Progress saved locally. Fun frontend learning.
Enter a component name and generate a complete RTL test file with render, screen, and common assertions. Fast testing setup.
Enter a color palette and see how it looks for different types of color vision deficiency. Get warnings on conflicting colors.
Match gap size around doors/windows to the correct type of weather stripping (foam, V-strip, door sweep). Save energy.