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.


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.



Specification link

Specification being incubated in a Community Group

Status in Chromium


In development (tracking bug)

Consensus & Standardization

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


Search tags

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

Last updated on 2022-01-21