title: In-browser default selected text color - What is it?
body: <p>Supposing no CSS, javascript or other HTML trickery, how does the browser determine the color of the text and background for selected text?</p>
  
  <p>For example, standard white background (<code>#FFFFFF</code> or <code>RGB=255,255,255</code>) with black text (<code>#000000</code> or <code>RGB=0,0,0</code>) when selected with invert the colors (i.e. <code>black background</code>, <code>white text</code>). How are other colors chosen? For example, when writing a question on this site, the right sidebar has an area "How to ask" with <code>background #FFEFC6</code> and <code>text #AE0000</code>, which when selected become <code>#3399FF</code> and <code>#FFFFFF</code> respectively.</p>
  
  <p>I would like to know how this is determined (is there an algorithm or just defaults) and is this the same across browsers?</p>