◑ PhotoCut Studio

Generate the dark mode (or light) of a screenshot

Updated on · Reading time: 5 minutes · By Gabriel Maglia

Want to see how your app or website would look in dark mode without touching a line of code? A screenshot is enough. Color Studio can invert the image's lightness while keeping the colors —the real basis of dark mode— and give you the dark (or light) version instantly, with a before/after to compare. All free and in your browser: the screenshot isn't uploaded anywhere.

PhotoCut Studio's Color Studio generating a screenshot's dark mode: before/after with the inverted theme and the color scheme ready to copy as CSS or Tailwind.
Dark mode inverts the screenshot's lightness and generates the project's color scheme (CSS/Tailwind).

How the Theme mode works

It's not a simple "negative" of the photo. Inverting the colors outright turns blues orange and everything looks wrong. The Theme mode inverts only the lightness of each pixel and keeps the hue and the saturation: that's why a white background becomes dark, black text lightens, and a blue button stays blue (in my test, #2563eb became #0744cb: darker, not lighter). It's exactly what a good dark theme does.

Step by step

  1. Go to Color Studio and open the screenshot (or use the image you already have loaded).
  2. Choose the Theme mode and the target: Dark, Light or Invert.
  3. Compare the original with the generated version in the Before and After panels.
  4. Download the result as PNG.

The Dark and Light targets only invert if needed (depending on whether the screenshot is already light or dark); Invert always forces the change.

The project's color scheme

Below the before/after, Color Studio builds the color scheme derived from the image (50–900 scales per role) and leaves it ready to copy as CSS or Tailwind. It's useful for going from the mockup to real variables without picking the colors by hand out of the screenshot.

What it's for (and what it isn't)

It works best with UI screenshots

The "flatter" and more UI-like the image (an app, a site, a dashboard), the better it looks: solid backgrounds and text respond perfectly to the lightness inversion. Photographs with gradients and skin give a more artistic than utilitarian result — but trying them is part of the fun.

We tested it: a light screenshot turned dark and what really changes

Image: captura-ui-clara.png, 1280 × 720 px, 41 KB (synthetic image I drew with Pillow).

Tool: Color Studio → Theme → “→ Dark”.

What I did:

  1. I loaded captura-ui-clara.png (1280 × 720 px, 41 KB), a screenshot of an app in light mode that I drew myself.
  2. In Color Studio → “Theme” I left “→ Dark” at intensity 100 and downloaded the image.
  3. I ticked “Keep accent colors”, downloaded again and read five reference pixels in the three versions.
  4. I pressed “Copy CSS” on the color scheme and read the clipboard.

What I measured:

What went wrong or what limit I saw: At intensity 100 the page background and the card background both became #000000: the contrast between them fell to 1.00:1 and the cards can no longer be told apart. At intensity 70 it is still almost invisible. The accents get darker if I don't tick “Keep accent colors”. It's a simple, synthetic screenshot: I didn't test a real screenshot with photos.

Generate my screenshot's dark mode →

How to choose a color palette

Roles, 50–900 scales and how to derive a palette from an image, ready as CSS or Tailwind.

Color palette & HEX from an image

Pull the dominant colors from an image and read the HEX of any pixel with an eyedropper.

More guides on “Color & image format” →