Home / Use cases / Take Dark Mode Screenshots of Websites

Updated

Take Dark Mode Screenshots of Websites

Design teams and documentation writers need to check and show how a site looks in dark mode, without switching their own system theme for every capture.

Try it now on Apify Website Screenshot & Visual Change Monitor · $0.002 per viewport or element capture delivered · failed items are free

How to do it, step by step

  1. List the URLs.
  2. Set Color scheme to dark; the page receives prefers-color-scheme: dark.
  3. Use Wait until networkidle for sites that switch theme with JavaScript.
  4. Sites without a dark theme stay light: that is how users see them too.

The exact input used for the example below:

{
  "urls": [
    "https://docs.python.org/3/",
    "https://svelte.dev"
  ],
  "colorScheme": "dark",
  "waitUntil": "networkidle"
}

Real result

Run r14CnmGmUSpEWuvBU on 2026-12-05: status SUCCEEDED, 2 item(s), 34.7 s of run time. Output shortened for reading (long text cut with “…”).

Screenshot of https://docs.python.org/3/ taken by the Actor
https://docs.python.org/3/, desktop 1366×768, png, captured 2026-12-05 02:11 UTC in 1.2 s
Screenshot of https://svelte.dev/ taken by the Actor
https://svelte.dev/, desktop 1366×768, png, captured 2026-12-05 02:12 UTC in 31.7 s
[
  {
    "url": "https://docs.python.org/3/",
    "status": "ok",
    "device": "desktop",
    "format": "png",
    "title": "Python 3.15.2 documentation"
  },
  {
    "url": "https://svelte.dev/",
    "status": "ok",
    "device": "desktop",
    "format": "png",
    "title": "Svelte • Web development for the rest of us"
  }
]

Try it now with your own input

FAQ

Why does a site still look light?

It has no dark theme, or forces light mode; the capture shows what users get.

Can I force dark mode on any site?

Inject your own CSS with Custom CSS, but that is no longer the site's real look.

Light and dark side by side?

Run twice with each color scheme and pair the images.

Related