Why the browsers take shades of blue (colors specified in SO post here) while we select the text ?

Is there any special reason for the same ?

Note:Question moved from StackOverflow


Most browsers take the standard selection color of the operating system. This color is chosen to be consistent with the rest of the operating system.

If you use Windows that color is blue, with Ubuntu for example the selection color is orange. And you will see that the selection color in browsers in Ubuntu the selection color is also orange. Browser selection in Ubuntu

  • 1
    Much better than my answer! – Andrew Martin Jul 3 '15 at 10:54

The color of the text highlight can be changed using the CSS pseudo element '::selection'.

Therefor, I would guess (and it is just a guess) that the blue color was chosen simply because it worked as a part of the browsers default (without site or user CSS) color scheme.

  • thank you @AndrewMartin but different browsers are developed using different technologies then how come every browser takes blueshades,correct me if im wrong was curious to know that.. – utility Jul 2 '15 at 10:53
  • Like I said, my answer is no more than an educated guess. - As for why the default color schems are the same, I think that probably goes back to Tim Berners-Lee or someone he was working with at the time they developed the first protocols and browsers. – Andrew Martin Jul 2 '15 at 11:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.