Share this article

Improve this guide

How to use the Rendering tool on Edge to force dark mode on any website

3 min. read

Published onAugust 18, 2022

published onAugust 18, 2022

Share this article

Improve this guide

Read our disclosure page to find out how can you help Windows Report sustain the editorial teamRead more

Windows 11has an option to use either dark or light mode on any application. Microsoft has a similar tool available for called the Rendering tool on Edge. The Rendering tool can “emulate dark or light schemes in the rendered page” allowing you to see what a website would look like

So, if you want an option to enable dark or light mode without using an Edge extension likeDark Reader, you can use the Rendering tool on Edge instead.

It is important to note that theRendering tool on Edge is a web development toolmeant to be used by web developers to see what a webpage looks like in different display options or for people with vision deficiencies, such as color blindness.

Developer tools in any browser are for testing only, so it is not possible to save any changes you make in this tool. You can only make changes and save the changes in your code only.

Enable Developer tools

Enable Developer tools

Similar to theRendering tab on Chrome, you can use the Rendering tool on Edge to see what a website looks like displayed in different color options.

Chris Heilmann, Principal Program Manager for Browser Tools at Microsoft, offered some helpful advice on how to force dark mode for websites where dark mode isn’t an available option.

If you have a web site that doesn’t offer a dark mode, you can use the Rendering tool of Chromium based browsers (Chrome, Edge, Brave…) to force a dark mode.pic.twitter.com/Ou6CgzQK5X

— Chris Heilmann (@codepo8)August 12, 2022

In order to enable and use this feature, you need to open Edge DevTools. You have4 ways you can open DevTools:

  1. Right-click on any website using your mouse and left-clickInspect. This option actually takes you to the “Elements” tab under Developer tools (DevTools), but you can always click the “Rendering” tab from there.

  2. Go to the three-dot Edge Settings in upper right of an open Edge window. ClickMore tools > Developer tools.

  3. Use theCtrl + Shift + Ikeyboard shortcut.4. PressF12on your keyboard. You can always turn this keyboard shortcut off later in Edge settings.

Access Rendering tool on Edge

Access Rendering tool on Edge

Now that DevTools is open in Edge, you should be greeted by the “Welcome” tab.

The next step is to open the Rendering tab. Here’s what you need to do.

  1. Click the DevTools three-dot menu in the upper right.2. ClickMore tools > Rendering.

  2. Scroll until you findEnable automatic dark mode.Click the checkbox to enable automatic dark mode which sets theprefers-color-schemeto dark.

The change to automatic dark mode is instantaneous, so no need to refresh the webpage for the changes to take effect.

davew

User forum

0 messages

Sort by:LatestOldestMost Votes

Comment*

Name*

Email*

Commenting as.Not you?

Save information for future comments

Comment

Δ

davew