How To Use Dark Mode Google Colab

Updated: September 16, 2021

Google Colab notebooks allow you to combine executable code and rich text in a single document, along with images, HTML, LaTeX and more. Using dark mode, you can work with computer for longer time because it less damage your eye more than light mode. And in this tutorial, I will show you how to turn on dark mode in Google Colab.

What’s advantages of Dark Mode Google Colab?

  • It help you save energy, mainly if you are using OLED or AMOLED screen.
  • It looks cool and gives a new and fresh overall look.
  • It doesn’t strain your eyes too much at night.
  • It help you read code in Google Colab esierly.

Default Google Colab’s theme

When you create a new colab notebook, the light theme is applied by default.

Default theme of Google Colab

However, working in front of a bright screen for an extended period of time might be exhausting. I will help you how to switch to dark mode in google colab to help you increase productivity. You will need to follow these steps.

Change to Dark theme

Step 1: Open Preferences in Google Colab

Open Colab and then click the Preferences option under Tools to manage your preferences.

Open Preferences option to change Dark mode

Step 2: Change to dark theme

From opening windows, change the theme to dark. In some cases, you can always come back and change to the default seting of light if you thinks this mode is not comfortable for you. Don’t forget clicking Save button to make you changes become available.

We now change dark mode in Google Colab

Step 3: Everything is done, start coding!

Now, you can return to the colab file and notice how the cells and background have been transformed to dark hues.

Your Google Colab now have dark mode


In this post, I helped you how to use dark mode in Google Colab. If you thinks it is interested, please don’t forget sharing this post to your friend, so dark mode can protect your friend’s eyes :)