Book a 30-min callBook a call

Dark mode design: getting it right in apps and websites

Dark mode is more than inverted colors. How to design and build it properly: semantic colors, contrast, images, and following the system setting.

The same app screen split down the middle, light on one side and dark on the other.
Written by
BYD Tech
Updated
Topic
Design
Reading time
2 min read

Questions people ask

Should dark mode use pure black?

Usually not only pure black. Dark greys and slightly lighter surfaces show depth better and are easier on the eyes for long reading.

Should my app follow the system dark mode setting?

Yes, by default. Users choose it for their whole device. Offering an in-app override is a useful extra.

Does dark mode need different brand colors?

Often lighter, less saturated versions of the same colors, so they keep contrast without glaring against dark backgrounds.

How do I implement dark mode on a website?

Define colors as CSS custom properties, give each a dark value under the prefers-color-scheme media query, and set the theme before the page paints.

Building something like this?