where can I find codes for table fill colors?

+1 vote
156 views
I've copied/used "|- bgcolor=#e1f0b4" (green) from WikiSourcer's household table header but would like to have a light blue for different tables.

Are fill color codes listed somewhere on Wiki?

Thanks,
Gail
in WikiTree Help by Gail Fleischaker G2G6 (7.2k points)

Hi Gail. This tool looks good:

https://htmlcolorcodes.com/color-picker/

For example, it gives #81D9D5 as quite a nice light blue.

Jim, your brain and fingers are going faster than my own, good work.
That is, indeed, a very useful tool!  I've tucked that away.

Thanks to both of you for introducing me to the world of hex colors.

Gail

2 Answers

+3 votes
It's a bit technical, but not impossible.  There is no code table.

E1F0B4 are hexadecimal numbers for the RGB color, all smashed together. In this case Red= E1=225, Green=F0=240, and Blue=B4=180, a light blue would be BEF9FF, R=190, G=249, B=255.

You can use a color picking website like htmlcolorcodes.com/color-picker/ or a computer graphics program like Paint.net (it's free) to pick out colors and the number codes.
by Warren Kuntz G2G6 Mach 2 (21.9k points)
+3 votes
Gail, you've already had answers for how to find color tables to select colors and get their codes.  This may be more information than you want or need, but if you have artistic talent to mix colors for yourself, here's the way to do that using codes:

The # sign indicates that it is a hex number that follows - don't worry about that - it just tells the computer what it is getting.

The 6 numbers/letters that follow are in sets of 2 that define the amounts of red, green, and blue (in that order) to produce the color.  The numbers are hexadecimal values, which means base-16.  That means that in addition to the values from 0-9, there are 6 more values, which use letters from a to f.  This way, the numbers from 0 - 15 (the way we think of it) can all be represented in a single character.  For higher numbers, you add another place to the left, that also has a number between 0 and 15.  This means that the first of the 2 numbers is multiplied by 16 and added to the second one to convert the value to our number system (called decimal system).  Bottom line is that those 2 characters represent all numbers between 0 and 255.

Example - count   0, 1, ... 8, 9, a, b ... e, f, 10, 11, ... 1e, 1f, 20, 21, etc. where f means 15 and 10 means 16 in the decimal system.

So, if you take the hex number #ff0000 that is pure red, while #800000 is still pure red, but darker.  A pure green would have 00 for both the red and blue numbers - #000100 would be the darkest possible green and #00ff00 would be the brightest possible green.  The #e1f0b4 in your question has a lot of red (e1), even more green (f0), and a little less blue (b4).  If you change those numbers, you can alter the color.  This way, you can literally create your own colors.  Pure black is #000000 and pure white is #ffffff.
by Gaile Connolly G2G Astronaut (1.2m points)
edited by Gaile Connolly
Gaile you take me back to a life before babies! Counting in binary, octol, decimal, duodecimal or hex was as easy as reciting the alphabet. Not very easy now, so perhaps I should practice to exercise the brain.
C, I get a kick out of pranking doctors who shove their Alzheimer's test at me - the one that has a circle with instructions to put the labels for a clock on it.  I never just put the decimal numbers there.  Sometimes I use Roman numerals and others I do it in binary.  They usually get the Roman after thinking a little bit, but the binary always stumps them and I have to explain it.  

I never thought about using octal before, but that would be really cute (1, 2, 3, 4, 5, 6, 7, 10, 11, 12, 13, and 14) ... although, they might not ask me what it means and just assume that I'm deranged.

Related questions

+7 votes
1 answer
+4 votes
1 answer
+11 votes
3 answers
247 views asked Nov 1, 2017 in Policy and Style by Vic Watt G2G6 Pilot (361k points)
+6 votes
2 answers
+5 votes
0 answers
+4 votes
3 answers
173 views asked Mar 3, 2023 in WikiTree Tech by Koen van Hoof G2G6 Mach 7 (73.8k points)
+6 votes
1 answer
138 views asked Mar 2, 2023 in WikiTree Tech by Rob Pavey G2G6 Pilot (217k points)
+4 votes
1 answer
456 views asked Dec 6, 2022 in WikiTree Help by Barney Banks G2G2 (2.9k points)

WikiTree  ~  About  ~  Help Help  ~  Search Person Search  ~  Surname:

disclaimer - terms - copyright

...