Accessibility / Color Contrast / Remove Colors

Remove Colors bookmarklet that overrides page colors to black text on white background. Useful for testing that information is not conveyed by color alone. Helps verify compliance with color-only information requirements.

WCAG SC 1.4.1: Use of Color
Run Remove Colors

Test run or drag to
bookmarklets bar to install

javascript:%21function()%7Bvar%20e%2Ct%3D%22*%20%7B%20background%3A%20white%20%21important%3B%20color%3A%20black%20%21important%20%7D%20%3Alink%2C%20%3Alink%20*%20%7B%20color%3A%20%2300e%20%21important%20%7D%20%3Avisited%2C%20%3Avisited%20*%20%7B%20color%3A%20%23551a8b%20%21important%20%7D%22%3Bdocument.createStyleSheet%3Fdocument.createStyleSheet(%22javascript%3A%27%22%2Bt%2B%22%27%22)%3A((e%3Ddocument.createElement(%22link%22)).rel%3D%22stylesheet%22%2Ce.href%3D%22data%3Atext%2Fcss%2C%22%2Bescape(t)%2Cdocument.getElementsByTagName(%22head%22)%5B0%5D.appendChild(e))%7D()%2Cconsole.log(%22%5CnSource%3A%20https%3A%2F%2Fgist.github.com%2FExplosion-Scratch%2Fc853c40e4c4c0b7ad74f7d8644c238ba%23remove-colors%5CnBookmarklet%20name%3A%20Remove%20Colors%5Cn%22)%3B
← Back to all bookmarklets