Google is rolling out a dark mode to its YouTube mobile apps. Last year, it added the previously hidden ability to change YouTube's background from white to black to YouTube on desktops and laptops. Dark mode is available now for iOS and is now rolling out to Android devices, XDA Developers reports.

Here's how to enable it on iOS:

Launch the YouTube app and tap your account icon in the top-right corner.



in the top-right corner. Tap Settings .



. Tap to toggle on Dark theme.



Screenshot by Matt Elliott/CNET

The process is similar for desktops and laptops: Click your account icon in the top-right, click the Dark theme line directly above Settings and then click the toggle switch to turn on Dark theme.

For Android, you will find the Dark theme toggle switch by going to Settings > General. If you don't see it there, check you have the latest update from the Play Store, then try closing and opening the app a few times, as Redditors suggest here. That worked for (at least some of) us.

For both mobile apps and desktop site, YouTube remembers your light or dark preference for future visits.

Now playing: Watch this: How to turn on dark mode for Gmail and Chrome

Originally published on April 14, 2017.

Update, Sept. 5: Added information about the rollout to Android devices.