The W
June 7, 2009 - birthdaybritney.jpg
Views: 179003752
Main | FAQ | Search: Y! / G | Calendar | Color chart | Log in for more!
28.3.24 0840
The W - Internet & Computers - Need some help if someone has a sec
This thread has 6 referrals leading to it
Register and log in to post!
Thread rated: 7.71
Pages: 1
(577 newer) Next thread | Previous thread
User
Post (9 total)
Guru Zim
SQL Dejection
Administrator








Since: 9.12.01
From: Bay City, OR

Since last post: 8 days
Last activity: 17 hours
ICQ:  
#1 Posted on | Instant Rating: 8.81
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)


Ignorance is bliss for you, hell for me.
Promote this thread!
Mr Heel II
Lap cheong








Since: 25.2.02

Since last post: 1891 days
Last activity: 1627 days
#2 Posted on | Instant Rating: 5.76
Like this?

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








Since: 9.12.01
From: Bay City, OR

Since last post: 8 days
Last activity: 17 hours
ICQ:  
#3 Posted on | Instant Rating: 8.81
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.



Ignorance is bliss for you, hell for me.
EddieBurkett
Boudin blanc








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

Since last post: 63 days
Last activity: 1 day
#4 Posted on | Instant Rating: 7.06
Something like this (siteprocentral.com) maybe?
Zeruel
Thirty Millionth Hit
Moderator








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 | Instant Rating: 4.05
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)



"You want to tempt the wrath of the whatever from high atop the thing?" --Toby, West Wing

Guru Zim
SQL Dejection
Administrator








Since: 9.12.01
From: Bay City, OR

Since last post: 8 days
Last activity: 17 hours
ICQ:  
#6 Posted on | Instant Rating: 8.81
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.



Ignorance is bliss for you, hell for me.
Zeruel
Thirty Millionth Hit
Moderator








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 | Instant Rating: 4.05
    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)



"You want to tempt the wrath of the whatever from high atop the thing?" --Toby, West Wing

Mr. Boffo
Scrapple








Since: 24.3.02
From: Oshkosh, WI

Since last post: 3895 days
Last activity: 3856 days
#8 Posted on | Instant Rating: 5.12
    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)


In the real world, WWE believes that no matter what our race, religious creed or ethnic background in America, we all share the common bond of being Americans. American-Arabs are a part of the fabric of America, and they should be embraced by all of us.
Zeruel
Thirty Millionth Hit
Moderator








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 | Instant Rating: 4.05
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)



"You want to tempt the wrath of the whatever from high atop the thing?" --Toby, West Wing

Thread rated: 7.71
Pages: 1
Thread ahead: Bill to ban MP3 Webstreaming
Next thread: Windows updates this morning?
Previous thread: Now YOU can be Big Brother!
(577 newer) Next thread | Previous thread
Hey, if you're gonna insist on a 660kb avatar, that's how you do it, not with some 3000x2000px image of Admiral Ackbar. I give you a pass. As for the question at hand, I got nuthin.
- Joseph Ryder, How much is 30 MB? (2009)
The W - Internet & Computers - Need some help if someone has a secRegister and log in to post!

The W™ message board

ZimBoard
©2001-2024 Brothers Zim

This old hunk of junk rendered your page in 0.162 seconds.