- My Forums
- Tiger Rant
- LSU Recruiting
- SEC Rant
- Saints Talk
- Pelicans Talk
- More Sports Board
- Fantasy Sports
- Golf Board
- Soccer Board
- O-T Lounge
- Tech Board
- Home/Garden Board
- Outdoor Board
- Health/Fitness Board
- Movie/TV Board
- Book Board
- Music Board
- Political Talk
- Money Talk
- Fark Board
- Gaming Board
- Travel Board
- Food/Drink Board
- Ticket Exchange
- TD Help Board
Customize My Forums- View All Forums
- Show Left Links
- Topic Sort Options
- Trending Topics
- Recent Topics
- Active Topics
Started By
Message
Sorting a list of hex color codes by spectrum
Posted on 2/8/18 at 5:54 pm
Posted on 2/8/18 at 5:54 pm
Does anyone know how to do this? Many articles I've found online require some coding/programming knowledge (which I don't have).
Thanks in advance.
Thanks in advance.
Posted on 2/8/18 at 6:20 pm to Tiger022
Hex is just base 16 so: 0-9 are 0-9 (just like decimal), 10 = A, 11 = B, 12 = C, 13 = D, 14 = E and 15 = F.
so 1F = 16 + 15 = 31
22 = 32 + 2 = 34
The color values are R G B. Each color gets 2 hex digits. So FF0000 is red, 00FF00 is green, 0000FF is blue.
FFFFFF is white and 000000 is black, so 880000 is just a darker red than FF0000.
Mixing them can get a little complicated if you aren't used to it (remember complimentary colors.)
Play around on this site and you should get the hang of it.
so 1F = 16 + 15 = 31
22 = 32 + 2 = 34
The color values are R G B. Each color gets 2 hex digits. So FF0000 is red, 00FF00 is green, 0000FF is blue.
FFFFFF is white and 000000 is black, so 880000 is just a darker red than FF0000.
Mixing them can get a little complicated if you aren't used to it (remember complimentary colors.)
Play around on this site and you should get the hang of it.
Posted on 2/10/18 at 4:42 pm to Bestbank Tiger
If you have 8 digits, that indicates AARRGGBB, with AA being the alpha channel and it is used for transparency. FF is fully opaque.
Seen some programs put the AA last too.
Seen some programs put the AA last too.
This post was edited on 2/10/18 at 4:43 pm
Popular
Back to top
