$User.UITheme and $User.UIThemeDisplayed in Salesforce

The difference between the $User.UITheme and $User.UIThemeDisplayed is that $User.UITheme variable returns the look and feel the user is supposed to see, while $User.UIThemeDisplayed returns the look and feel the user actually sees. Sample Visualforce Page Code: Output: