This site is mobile accessible. Press the "Tap Here" button to use a different font-size.



Smartphone icons created by Freepik - Flaticon

// detect and display the screen color depth in bits
document.getElementById("demo").innerHTML = 
"Screen color depth is " + screen.colorDepth;

The #rrggbb (rgb) values used in HTML represents "True Colors" (16,777,216 different colors)