User:Joseph A. Spadaro/Sandbox/Page69
Background colors for tables
[edit]I was reviewing this article: 12th Academy Awards. You will notice that the heading titles on the tables have a background that is a golden color. When I looked at the "code" to produce that gold color, I see (in the edit space for the article) the following notation ! style="background:#EEDD82; width:50%" | [[Academy Award for Best Picture|Outstanding Production]]. OK. So far, so good. So, I presume that the gold color is coming from the notation (code) of style="background:#EEDD82;. So, my question is: how would I (or anyone) know that #EEDD82 is the code to produce the color gold? And what if I want another color (purple, green, whatever)? Is there a list somewhere on Wikipedia (or the internet) that gives all of these codes and their corresponding colors? Thanks. Joseph A. Spadaro (talk) 17:50, 27 January 2016 (UTC)
- This page does a reasonable job. There may well be better alternatives. Maproom (talk) 18:21, 27 January 2016 (UTC)
- This list may also be helpful. It is too big for a single article, so you will have to pick one from the list.--S Philbrick(Talk) 19:18, 27 January 2016 (UTC)
- Thanks. Why is it that my color code (EEDD82) is not listed in those articles? Joseph A. Spadaro (talk) 20:46, 27 January 2016 (UTC)
- The article lists only commonly used colours. There are too many shades (over sixteen million) to list them all. Your shade is 238/256 = 93% brightness red (because EE in hexadecimal is 238 in decimal); 221/256 = just over 86% brightness of green (because DD in hex is 221 in decimal); and 130/256 = just under 51% brightness of blue (because 82 in hex is 130 in decimal).
- As you probably know, when you mix pure 100% red with pure 100% green, you get a bright yellow (#FFFF00), and mixing some blue (the 82 in your code) makes it lighter and more straw/gold coloured, then reducing the brightness of red and green gives your shade. You can play with the colours in the site linked above. Dbfirs 23:22, 27 January 2016 (UTC)
Thanks, all. Joseph A. Spadaro (talk) 19:59, 28 January 2016 (UTC)