How Lampka keeps figures in colour on dark pages

Most PDF dark modes simply invert the page. That works for text, but it turns charts and photos into negatives. Here is what Lampka does instead.

Why inverting breaks figures

Inverting swaps every colour for its opposite. White paper becomes black, which is what you want. But an orange bar turns blue, a blue one turns orange, and faces in photos look like film negatives. When colour carries meaning, the chart no longer matches its own legend.

A page from a research paper as printed: black text on white, and a bar chart with grey, tan, navy and orange bars
The page as printed.
The same page inverted: white text on black, and the chart's bars now brown, blue, beige and bright blue
Inverted: the orange bar is now blue.

What Lampka does instead

Lampka draws each page twice. The first copy is the page as printed. In the second, which you never see, it removes everything except pictures and strongly coloured shapes. That shows exactly which parts of the page belong to figures.

Everything else, the paper, the text and the lines, is recoloured from light to dark in your theme's colours, keeping the soft edges of letters smooth. The figures are left exactly as they were.

The same page in Lampka's Night theme: light grey text on a dark page, while the bar chart keeps its white background and its original grey, tan, navy and orange bars

Lampka's Night theme: the text goes dark, the chart keeps its real colours.

The awkward cases

Your PDF stays as it was

All of this happens only on your screen, on your computer. The file itself is never changed, and nothing is sent anywhere.

Try it on your own PDFs

Lampka for Windows 10 and 11 is free while it's in beta. It works offline and you don't need an account.

Download the free beta

During the beta, everything marked Pro is free too. Afterwards reading stays free, and the Pro tools are a one-time purchase.

Founders get Pro for £15 until 1.0. See pricing

More about Lampka: All guides Dark mode Read aloud Papers and theses Manual