Forced colours mode
type: TechArticle
description: Respect forced colours mode (Windows High Contrast and similar). The `forced-colors` media feature lets you repair UI the user's palette would otherwise flatten — without overriding their choice.
language: en
is part of: Web Specification Studio
author: Web Specification Studio
publisher: Web Specification Studio
license: https://creativecommons.org/licenses/by/4.0/
date modified: 2026-06-22T00:00:00.000Z
citation: CSS Media Queries Level 5 — forced-colors
  type: CreativeWork
  publisher: W3C
citation: CSS Color Adjustment Module Level 1 — forced-color-adjust
  type: CreativeWork
  publisher: W3C
citation: MDN — forced-colors
  type: CreativeWork
  publisher: MDN

Web Specification Studio
type: WebSite

Web Specification Studio
type: Organization

breadcrumb
type: BreadcrumbList
item list element: Home
  type: ListItem
  position: 1
  item: https://webspecification.com/
item list element: Spec
  type: ListItem
  position: 2
  item: https://webspecification.com/spec/
item list element: Accessibility
  type: ListItem
  position: 3
  item: https://webspecification.com/spec/accessibility/
item list element: Forced colours mode
  type: ListItem
  position: 4
  item: https://webspecification.com/spec/accessibility/forced-colors/