How to Force Dark Mode on All Websites Without Breaking Images
Patrick Bushe · May 1, 2026
Chrome's experimental flag at chrome://flags/#enable-force-dark darkens every site, but results vary from site to site, especially with images, and it can change in any update.
Modern Dark Mode takes a simpler approach that protects media: it flips the page's colors with a CSS filter, then flips images, videos, canvases, SVGs and embedded frames back so they keep their normal colors. The gaps: images a site sets as backgrounds in its stylesheet can still come out inverted, and sites that are already dark get flipped to light, so tick "Exclude this site" on those.
Related Answers
More guides on similar topics
Dark Mode for Websites That Ignore System Preferences
Modern Dark Mode puts a color-flipping filter on any page, including sites that ignore your dark setting. Exclude sites that are already dark.
how to get dark mode on websites built in 2010How to Get Dark Mode on Websites Built in 2010
Modern Dark Mode works on the drawn page, not the site's code, so old table layouts and inline styles don't stop it.
best dark mode for reading code documentation onlineBest Dark Mode for Reading Code Documentation Online
Modern Dark Mode darkens docs pages and keeps code colors' hues roughly intact. Docs with their own dark theme, like MDN, are better left to it.
how to force dark mode on reading heavy websitesHow to Force Dark Mode on Reading Heavy Websites
Modern Dark Mode darkens news sites, Medium and Substack while photos keep their colors. Chrome's Reading mode has a dark theme too.
how to force dark theme on cluttered websites for studentsHow to Force Dark Theme on Cluttered Websites for Students
Modern Dark Mode darkens cluttered course sites, sidebars included, but it only changes colors. Reading mode strips the clutter.
how to force night mode without breaking site cssHow to Force Night Mode Without Breaking Site CSS
Modern Dark Mode doesn't edit a site's CSS rules; one filter flips the colors, so layouts, buttons and forms keep working.