How to turn it on the hidden dark mode in YouTube

YouTube has a hidden dark mode which makes the website more comfortable while you are watching videos in dark. This dark mode is available only in the Google Chrome. To enable this function, you have to only paste a line of code and refresh the Chrome. Here is how to do it,