Convert your light-mode hex palette to dark-mode equivalents - side-by-side preview and ready CSS custom properties.
Enter hex colors one per line. Optionally add a name: name: #hex
@media (prefers-color-scheme: dark) media query detects the user's OS preference. You can override CSS custom properties inside it to swap colors without duplicating your entire stylesheet. JavaScript can also check: window.matchMedia('(prefers-color-scheme: dark)').matches.We add new tools every week based on what you ask for. Suggest one - it takes 30 seconds.
We use cookies to enhance your experience. By continuing you agree to our Cookie Policy.