here is a css color palette: --white: #F7E4CA; --black: #352208; --purple: #574b88;…
- User
here is a css color palette: --white: #F7E4CA; --black: #352208; --purple: #574b88; --orange: #6c4c3d; --yellow:#efc58a ; give me a coherent dark theme equivalent for it please
- Assistant
Below is a “flip-the-values” dark theme that keeps the same overall vibe (warm, earthy + muted jewel tones) while making it suitable for a dark UI.
I simply darkened every light color, lightened every dark color, and nudged the hue just enough to preserve the original palette’s character & contrast-ratios (WCAG AA for normal text on the main background). 🎨✨/* ───────── ORIGINAL (light) PALETTE ───────── */ :root { --white : #F7E4CA; /* creamy paper */ --black : #352208; /* roasted coffee */ --purple: #574B88; /* dusty amethyst */ --orange: #6C4C3D; /* burnt sienna */ --yellow: #EFC58A; /* soft butterscotch */ } /* ───────── DARK THEME EQUIVALENTS ───────── */ [data-theme="dark"] { /* role: main background / surfaces */ --white : #1A140D; /* “near black” with the same warm hue */ /* role: primary text & foreground */ --black : #F7E4CA; /* invert: the old paper becomes the new ink */ /* accents (just ~25-30 % darker vs. lighter) */ --purple: #32285B; /* deep indigo */ --orange: #4B3628; /* dark mocha */ --yellow: #B38A5C; /* muted bronze */ }Quick swatch comparison
Light mode Dark mode [image: #F7E4CA] open white [image: #1A140D] open white [image: #352208] open black [image: #F7E4CA] open black [image: #574B88] open purple [image: #32285B] open purple [image: #6C4C3D] open orange [image: #4B3628] open orange [image: #EFC58A] open yellow [image: #B38A5C] open yellow Usage example
body { background: var(--white); color: var(--black); } button.primary { background: var(--purple); color: var(--white); } [data-theme="dark"] button.primary { /* automatically swaps to the dark-theme purple */ }Swap themes by just toggling the
data-theme="dark"attribute on<html>or<body>and the custom properties will do the rest. 🌗
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.