<?xml version="1.0" encoding="utf-8"?>

Avoid using pure black

Avoid using pure black Bad Practice
Avoid using pure black Best Practice

Pure black is never a good choice. Paradoxically, dark mode rarely contains true black, as it can severely hurt readability. Instead, Material Design recommends using dark grey (#121212) as the dark background color.[1] Also, drop shadows are more visible against a gray background and create a much better sense of depth.

Improve your UX & Product skills with interactive courses that actually work