Canvas and CanvasText are system color keywords. Canvas maps to the existing Window system color keyword, and CanvasText maps to the existing WindowText system color keyword.

Motivation

Canvas and CanvasText have been added to the CSS Color Module ‌Level 4 spec. Canvas and CanvasText replace the previously named Window and WindowText keywords and will give users the ability to customize their sites with the relevant foreground and background colors when in forced colors mode.

Documentation

Specification

Editor's draft

Status in Chromium

Blink>CSS


In development (tracking bug)

Consensus & Standardization

After a feature ships in Chrome, the values listed here are not guaranteed to be up to date.

Owners

Search tags

canvas, text, canvastext, system, color, keyword, keywords,

Last updated on 2021-01-02