Document colors
Discouraged
This feature is discouraged. Consider using background-color , Color , CSS object model , getComputedStyle() instead. For the rationale, see:
A document's bgColor
, fgColor
, alinkColor
, linkColor
, and vlinkColor
properties get and set the background, foreground, active link, link, and visited link colors of that document.
Learning resources on MDN
- Document: alinkColor property
- Document: bgColor property
- Document: fgColor property
- Document: linkColor property
- Document: vlinkColor property
Browser support
- Chrome 64 Released on 2018-01-23
- Chrome Android 64 Released on 2018-01-23
- Edge 12 Released on 2015-07-29
- Firefox 69 Released on 2019-09-03
- Firefox for Android 79 Released on 2020-07-28
- Safari 11 Released on 2017-09-19
- Safari on iOS 11 Released on 2017-09-19
Specifications
- HTML Standard, from HTML Workstream (WHATWG).