The hexadecimal notation #RRGGBB for RGB colour triples has been popularised by HTML and is commonly associated with it, even though nowadays it is not usually used in HTML directly, but rather through CSS.
I noticed that the same notation is used in the X pixmap format (XPM), which to my knowledge was created in 1989, thus predating HTML (1993).
Where does this notation come from? How did it end up in HTML?
$and about0xmanaged to be answered. (I can’t speak as for the correctness of the answer, but…) – user3840170 Mar 09 '21 at 15:59#is used solely for IDs and entity references. The HTML 3.2 specification mentions that the the 16 "standard" colors were derived from the Windows VGA palette; that might be a lead. – texdr.aft Mar 09 '21 at 16:04rgb.txtdoes not have colors in hexadecimal; I'm not sure what to make of that. – texdr.aft Mar 09 '21 at 17:26