The W
Views: 178992530
Main | FAQ | Search: Y! / G | Color chart | Log in for more!
28.3.17 0607
The 7 - Internet & Computers - Need some help if someone has a sec Register and log in to post!
(570 newer) Next thread | Previous thread
User
Post (9 total)
Guru Zim
SQL Dejection
Administrator
Level: 152

Posts: 3907/6207
EXP: 44132174
For next: 169588

Since: 9.12.01
From: Bay City, OR

Since last post: 8 days
Last activity: 15 hours
ICQ:  
Y!:
#1 Posted on 22.4.06 0146.46
Reposted on: 22.4.13 0147.00
I am having problems picking hex colors to go on a pie chart that I'm working on. If anyone has a list of HTML colors that look ok, I'm going for something that is close to a gradient or gradual change between colors...

I've tried going through them manually but I'm ending up with a lot of colors that are too close to call, so if someone already has this handy, please post it here or give me a link.

Thanks!

(edited by Guru Zim on 21.4.06 2348)
Promote this thread!
Mr Heel II
Lap cheong
Level: 84

Posts: 755/1559
EXP: 5528471
For next: 133505

Since: 25.2.02

Since last post: 1891 days
Last activity: 1627 days
#2 Posted on 22.4.06 0922.36
Reposted on: 22.4.13 0924.13
Like this?

http://www.immigration-usa.com/html_colors.html
Guru Zim
SQL Dejection
Administrator
Level: 152

Posts: 3910/6207
EXP: 44132174
For next: 169588

Since: 9.12.01
From: Bay City, OR

Since last post: 8 days
Last activity: 15 hours
ICQ:  
Y!:
#3 Posted on 22.4.06 1039.01
Reposted on: 22.4.13 1040.51
Close.

I'm bad at picking colors that go well next to each other. I'm doing a pie chart so I can't cycle through colors that are close to the same... I need people to be able to tell the difference. I need about 64 colors that are distinct from each other and then I need them in an order where it looks like a transition between them rather than just random colors on a pie chart.
EddieBurkett
Boudin blanc
Level: 103

Posts: 1442/2490
EXP: 11196449
For next: 274996

Since: 3.1.02
From: GA in person, NJ in heart

Since last post: 63 days
Last activity: 22 hours
#4 Posted on 22.4.06 1215.25
Reposted on: 22.4.13 1215.46
Something like this (siteprocentral.com) maybe?
Zeruel
Thirty Millionth Hit
Moderator
Level: 142

Posts: 2957/5284
EXP: 34612934
For next: 355581

Since: 2.1.02
From: The Silver Spring in the Land of Mary.

Since last post: 1675 days
Last activity: 1675 days
#5 Posted on 22.4.06 1258.56
Reposted on: 22.4.13 1259.01
What if you took the data value and put it into hex and use that for the color.

In the unlikely event the data value will be higher than FFFFFF (16,777,215 base 10) you could always use (all values hex):

color = datavalue mod FFFFFF

I don't know how well the colors would go together. There might be a log jam of data and they would have similar colors.

(edited by Zeruel on 22.4.06 1414)
Guru Zim
SQL Dejection
Administrator
Level: 152

Posts: 3913/6207
EXP: 44132174
For next: 169588

Since: 9.12.01
From: Bay City, OR

Since last post: 8 days
Last activity: 15 hours
ICQ:  
Y!:
#6 Posted on 22.4.06 1316.39
Reposted on: 22.4.13 1320.14
I tried doing that sort of - I was using open office and started with 16^6-1 and worked backwards by 100, but the colors don't end up in a gradient really.

I've got it working OK with blue right now, but if someone had it handy it would have been easy to use. It's ok - I think I'm done for now.
Zeruel
Thirty Millionth Hit
Moderator
Level: 142

Posts: 2958/5284
EXP: 34612934
For next: 355581

Since: 2.1.02
From: The Silver Spring in the Land of Mary.

Since last post: 1675 days
Last activity: 1675 days
#7 Posted on 22.4.06 1321.20
Reposted on: 22.4.13 1322.23
    Originally posted by Guru Zim
    I tried doing that sort of - I was using open office and started with 16^6-1 and worked backwards by 100, but the colors don't end up in a gradient really.


EDIT: Please see my other post Guru.

For everyone else, cycle the colors from 0000FF (Blue) to 00FF00 (Green) to FFFF00 (Yellow) to FF0000 (Red) to FF00FF (Purple) a little at a time.


(edited by Zeruel on 22.4.06 1632)
Mr. Boffo
Scrapple
Level: 124

Posts: 1554/3844
EXP: 21369134
For next: 467528

Since: 24.3.02
From: Oshkosh, WI

Since last post: 3895 days
Last activity: 3856 days
#8 Posted on 23.4.06 0423.52
Reposted on: 23.4.13 0423.59
    Originally posted by Zeruel
      Originally posted by Guru Zim
      I tried doing that sort of - I was using open office and started with 16^6-1 and worked backwards by 100, but the colors don't end up in a gradient really.


    EDIT: Please see my other post Guru.

    For everyone else, cycle the colors from 0000FF (Blue) to 00FF00 (Green) to FFFF00 (Yellow) to FF0000 (Red) to FF00FF (Purple) a little at a time.


    (edited by Zeruel on 22.4.06 1632)

I wrote a program in C++ (would have been more useful in JavaScript, but I don't know enough to make it work there) that does exactly that. For 64 colors, it came out like this.

ff0000 ff1700 ff2e00 ff4500 ff5c00 ff7300 ff8a00 ffa100 ffb800 ffcf00 ffe600 fffd00 eaff00 d3ff00 bcff00 a5ff00 8eff00 77ff00 60ff00 49ff00 32ff00 1bff00 04ff00 00ff13 00ff2a 00ff41 00ff58 00ff6f 00ff86 00ff9d 00ffb4 00ffcb 00ffe2 00fff9 00eeff 00d7ff 00c0ff 00a9ff 0092ff 007bff 0064ff 004dff 0036ff 001fff 0008ff 0f00ff 2600ff 3d00ff 5400ff 6b00ff 8200ff 9900ff b000ff c700ff de00ff f500ff ff00f2 ff00db ff00c4 ff00ad ff0096 ff007f ff0068 ff0051

EDIT: Yeh, it probably would have been easier to start with blue.

(edited by Mr. Boffo on 23.4.06 1041)
Zeruel
Thirty Millionth Hit
Moderator
Level: 142

Posts: 2961/5284
EXP: 34612934
For next: 355581

Since: 2.1.02
From: The Silver Spring in the Land of Mary.

Since last post: 1675 days
Last activity: 1675 days
#9 Posted on 23.4.06 0611.35
Reposted on: 23.4.13 0611.55
Just to compare and contrast, here's what I came up with for 25 colors.

0000FF0033CC00669900996600CC33
00FF0033FF0066FF0099FF00CCFF00
FFFF00FFCC00FF9900FF6600FF3300
FF0000FF0033FF0066FF0099FF00CC
FF00FFCC00FF9900FF6600FF3300FF


(edited by Zeruel on 23.4.06 0712)
ALL ORIGINAL POSTS IN THIS THREAD ARE NOW AVAILABLE
Thread ahead: Bill to ban MP3 Webstreaming
Next thread: Windows updates this morning?
Previous thread: Now YOU can be Big Brother!
(570 newer) Next thread | Previous thread
The 7 - Internet & Computers - Need some help if someone has a secRegister and log in to post!

The W™ message board - 7 year recycle

ZimBoard
©2001-2024 Brothers Zim
This old hunk of junk rendered your page in 0.162 seconds.