Why your screenshot came out in the wrong theme
Short answer
If your website screenshot captures in dark mode when you expected light mode (or vice versa), it is because the site respects the operating system's prefers-color-scheme media query rather than its own default styling. The browser injects the current OS theme setting into the page context during rendering. To fix this, you must temporarily change your OS display settings or use a browser profile configured for the desired theme before triggering the capture.
Updated 5 June 2026Written by the Full Page Screenshot team
The cause: prefers-color-scheme overrides site defaults
When you take a full-page capture, the extension renders the page exactly as the browser sees it at that moment. Modern websites increasingly rely on the CSS prefers-color-scheme media query to detect whether your computer is currently set to Light or Dark mode.
Because Full Page Screenshot makes no network requests and relies entirely on the local DOM state, it captures the visual result of that query. If your operating system is set to Dark mode, the site will apply dark styles—even if the site normally defaults to light mode for logged-out visitors. This results in a "screenshot wrong dark mode" scenario where the output does not match the site's typical appearance.
How the browser determines the theme
The following technical details explain why the theme switches unexpectedly during capture:
- Detection method
- CSS @media (prefers-color-scheme: dark)
- Source of truth
- Operating system display settings (macOS, Windows, Linux, iOS, Android)
- Override capability
- JavaScript can read window.matchMedia(), but cannot easily spoof it without user-agent manipulation
- Extension behavior
- Full Page Screenshot uses the active tab's current rendered state; it does not force a specific theme
How to force the correct theme before capturing
To ensure your website screenshot reflects the intended design, follow these steps to align the browser's environment with your requirements:
- 1
Check your OS display settings
Open your system preferences (System Settings on macOS, Personalization on Windows). Verify whether Light or Dark mode is currently selected. This is the single source of truth for the
prefers-color-schemequery. - 2
Switch your OS theme temporarily
If you need a light-mode capture but your OS is in dark mode, switch your OS to Light mode. Wait a few seconds for the change to propagate to all applications.
- 3
Refresh the target page
Reload the webpage in Chrome. The browser will re-evaluate the CSS media queries against the new OS setting and apply the correct styles.
- 4
Capture immediately
Run Full Page Screenshot right after the refresh. Do not navigate away, as some sites cache the theme preference in localStorage, which might persist across sessions even after an OS change.
Workarounds for persistent theme issues
If you cannot change your OS settings (for example, if you are working on a shared machine), you have two primary options. First, use a separate Chrome profile with different startup parameters or extensions that enforce a specific color scheme. Second, check if the target site offers a manual theme toggle in its UI. Activating the site's internal toggle usually overrides the prefers-color-scheme query, allowing you to capture the desired look regardless of your OS settings.
For designers needing precise control over visual assets, understanding these rendering quirks is essential. You can learn more about designing for different contexts in our guide for designers.
Where to go next
If this did not resolve it, the next places to look are full page screenshots for designers, website screenshots for design, records and review, and save a webpage as PDF, exactly as it looks.
Frequently asked questions
Why does my screenshot look different from the live website?
The live website likely defaults to light mode, but your operating system is set to dark mode. The site's CSS detects your OS setting via prefers-color-scheme and applies dark styles. Your screenshot captures this detected state, not the site's default fallback.
Can I force dark mode in Chrome for screenshots?
Yes, you can launch Chrome with command-line flags like --force-dark-mode, but this affects all tabs. Alternatively, use a dedicated Chrome profile or install an extension that forces a specific color scheme for testing purposes.
Does Full Page Screenshot have a setting to choose light or dark mode?
No. Full Page Screenshot captures the pixel-perfect state of the visible tab. It does not inject styles or override CSS. It faithfully records whatever theme the browser has rendered based on the OS and site settings.
How do I export a webpage as PDF in the correct theme?
The process is identical to PNG capture. Ensure your OS or the site's internal toggle is set to the desired theme *before* you trigger the PDF export. The PDF will contain the image of the page as it appears at that moment.
Will changing my OS theme affect other open tabs?
Yes. Switching your OS to Dark mode will cause all sites that respect prefers-color-scheme to switch to dark mode immediately. You must refresh the specific tab you intend to capture to see the changes take effect.
Sources
Primary documentation for the browser behaviour described above. Every link was checked against a live search index when this page was last updated.
Capture your first full page screenshot
Free, no account, and nothing leaves your computer.
Keep reading
Full page screenshots for designers
Capture reference pages at full height and real pixel density for moodboards, competitive audits and design reviews.
Website screenshots for design, records and review
Capture a website exactly as it renders, at full page height and real display density. For design references, records, reviews and reports.
Save a webpage as PDF, exactly as it looks
Turn any webpage into a PDF that matches what you see on screen. A4, Letter, Legal or one continuous page, in portrait or landscape.