Tint & Shade Generator - Online Lighter & Darker Colors
Generate tints (add white) and shades (add black) for any base hex color. Copy values for design systems. Instant local generation.
UD5 Toolkit
Generate the perfect <meta name="color-scheme"> tag and CSS for dark/light mode opt-in.
Preview, copy, and deploy in seconds.
<head>
color-scheme property together for maximum browser compatibility.
The meta tag signals support early (before CSS loads), while the CSS property provides fine-grained control over specific elements.
<meta name="color-scheme"> tag tells browsers which color schemes (light, dark, or both) your web page supports.
It was introduced to help browsers render native UI elements—like form controls, scrollbars, and auto-filled inputs—in the appropriate theme before your CSS loads.
This prevents the infamous "flash of white" when a dark-mode user visits a dark-themed site.
It's a simple one-line addition to your <head> that significantly improves user experience.
color-scheme is the capability flag, while prefers-color-scheme is the responsive styling tool.
For a complete dark mode implementation, you typically use both.
only keyword (e.g., only light or only dark) forces a specific color scheme and prevents the browser from making automatic adjustments.
For example, only light tells the browser: "This page must always render in light mode, regardless of the user's system preference."
Use this sparingly—only when you have a strong design reason to override user preferences.
Most websites should use light dark to respect user choice and maximize accessibility.
color-scheme meta tag and CSS property are supported in all modern browsers: Chrome 81+, Firefox 96+, Safari 13+ (desktop and iOS), and Edge 81+.
It has excellent cross-browser coverage as of 2024, with over 94% global browser support.
Older browsers simply ignore the tag, so it's safe to add it today without any negative side effects—it's a progressive enhancement.
<meta name="color-scheme"> tag as early as possible inside the <head> section—ideally before any stylesheets or scripts.
This ensures the browser knows about your color scheme support before it starts rendering the page, preventing any flash of incorrect theme.
A good rule of thumb: put it right after the <meta charset="UTF-8"> and <meta name="viewport"> tags.
color-scheme property can be applied to any element, not just :root.
This is useful when you have a component that always looks best in a specific scheme—for example, a code editor widget that should always render in dark mode, or a print preview area that should always be light.
Simply apply color-scheme: dark; or color-scheme: only light; to the specific container element.
<meta name="color-scheme" content="light dark"> tag in your <head>.
(2) Use :root { color-scheme: light dark; } in your CSS.
(3) Write @media (prefers-color-scheme: dark) { } blocks with your dark theme styles.
(4) For a manual toggle, use JavaScript to add a data-theme attribute to <html> and write corresponding CSS selectors.
Store the user's choice in localStorage for persistence across visits.
light dark means "I support both, but prefer light mode as the default."
dark light means "I support both, but prefer dark mode as the default."
The first value is the preferred or default scheme.
Browsers use this information to decide which native UI elements to render when the user hasn't expressed a clear preference.
For most websites, light dark is the safer choice since light mode is the traditional web default.
Copy the generated code above and paste it into your HTML <head> section. All modern browsers are supported.
Generate tints (add white) and shades (add black) for any base hex color. Copy values for design systems. Instant local generation.
Build a palette and simulate how it appears to various color deficiencies. Also generate pre-vetted accessible palettes. Local processing.
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.
Find complementary, triadic, analogous, and split-complementary color combinations. Interactive color wheel. Essential for UI design.
Generate comprehensive HTML meta tags for SEO and social sharing (Open Graph, Twitter Cards). Copy ready-to-use code. Boost your search visibility.
Enter a color palette and see how it looks for different types of color vision deficiency. Get warnings on conflicting colors.
Input a hex color and adjust its lightness by a percentage. Get tristimulus shades for CSS. Quick and visual.
Experiment with the CSS color-mix() function. Pick two colors and mix them in different color spaces (srgb, oklch). Copy the CSS.
Design custom radio buttons and checkboxes using pure CSS. Choose sizes, colors, and animation. Copy the code.
Paste a set of hex colors and simulate how they appear with common color vision deficiencies. Get contrast warnings.
Enter a topic and get a list of suggested hashtags. Mix popular and niche tags. Copy all with one click. Local only.
Convert between whole fruit, juice volume, and zest quantity. Never wonder how many lemons for 1/4 cup.
Customize Bootstrap 5 variables visually. See the live preview. Download the generated SCSS or CSS file.
Brainstorm information architecture: enter a parent term and generate child terms and related concepts. Quick idea list.
Choose colors and knot types to design a bracelet pattern. See visual guide. Save locally.
A simple 5x5 or 7x7 crossword with clues. New one daily or generate random. Works offline.
Take a perfectly fine phrase and insert realistic-looking typos. For pranks or testing spell‑checkers.
Answer simple questions (color, size, beak shape) to narrow down common North American backyard birds. No photo needed.
Add services like Node, Postgres, Redis, and Nginx. Configure ports, volumes, and env vars. Download the docker‑compose.yml.
Create custom flat or plastic badges for your GitHub README. Choose label, message, color, and export as Markdown, HTML, or SVG.
Send conditional requests to a URL and verify that the server correctly handles ETag and If‑None‑Match. Audit caching.
Check the contrast ratio between foreground and background colors to ensure web accessibility compliance. Get WCAG 2.1 AA/AAA pass/fail results instantly.
Change the sample rate of an audio file (e.g., 48kHz to 44.1kHz) without leaving the browser. Ideal for podcast prep.
Paste HTML and detect unclosed tags, invalid nesting, and duplicate IDs. Lightweight client‑side validation.
Adjust material types (leaves, grass) to achieve the ideal 30:1 C:N ratio. Improve compost bin performance. Local only.
Easily format, validate, and beautify XML documents. Minify XML data with a single click. All processing happens locally in your browser for maximum privacy.
Paste your sitemap XML and check for missing namespaces, invalid URLs, or size limit violations. Keep your SEO healthy.
Display a Snellen chart on screen and mark distance for a fun self-test. Not a replacement for professional exam.
Paste your SQL query and check for basic syntax errors. Highlights missing commas, wrong keywords. Local analysis.