473,324 Members | 2,473 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,324 software developers and data experts.

color wheel picker

I need to build a colour wheel. It has these specs:
- The user needs to be able to select a colour from it
- It should show as many colours as reasonable. The client wanted the
entire 16 million+ colour spectrum but I pointed out that at one colour
per pixel that's a 2,000 pixel square. It would be good to get thousands
of colours.
- The colours in the wheel should have a smooth transition across the wheel.

I was thinking of building the wheel in some other app and screen
capturing it and then using some arithmetic to work out the colour under
the cursor but the numbers are killing me.

Can anyone either tell me where I can find one or how I can go about
building one?

Andrew Poulos
Jul 23 '05 #1
3 2852
Andrew Poulos wrote:
I need to build a colour wheel. It has these specs:
- The user needs to be able to select a colour from it
- It should show as many colours as reasonable. The client wanted the
entire 16 million+ colour spectrum but I pointed out that at one colour per pixel that's a 2,000 pixel square. It would be good to get thousands of colours.
- The colours in the wheel should have a smooth transition across the wheel.
I was thinking of building the wheel in some other app and screen
capturing it and then using some arithmetic to work out the colour under the cursor but the numbers are killing me.

Can anyone either tell me where I can find one or how I can go about
building one?

Andrew Poulos


Always kind of liked this one:

http://simplythebest.net/scripts/DHT...cript_115.html

Uses a jpg - but it's a reasonable weight for the task.

Jul 23 '05 #2
Andrew Poulos wrote:
<snip>
... . The client wanted the entire 16 million+
colour spectrum but I pointed out that
at one colour per pixel that's a 2,000 pixel
square. ... <snip> I was thinking of building the wheel in some other app and screen
capturing it and then using some arithmetic to work out the colour
under the cursor but the numbers are killing me.

<snip>

Apparently the number are killing you. A square showing all of the 24
bit pallet would be 4096 pixels square.

Picking from a pre-created image, and deducing the colors form the
offsets is still going to be the most practical approach (if you insist
on having a 'color wheel' to start with) as otherwise you would need
thousands of individually colored HTML elements (table cells or DIVs or
something) and that would be a monstrous download (or an really slow
script) just for a minor GUI widget.

Richard.
Jul 23 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: xeroxero | last post by:
Has anyone seen a control that will show any kind of color picker (gradient wheel or boxes or etc) that on postback pushes RGB values?
4
by: Michel Posseth [MCP] | last post by:
I have a problem with the date time picker validate event wich i believe is a bug How to reproduce : throw on a form a date time picker control and a textbox control select the validating...
5
by: Michel Posseth [MCP] | last post by:
Hello we have encountered the following problems with the date time picker control A : datetime picker control gives focus to last entered field when moving back and forward with focus how do...
5
by: Dave White | last post by:
Hello Everyone, I have not had any luck finding a tool that will: Shows me the color when I highlight a Hex color code in an HTML source document. Are there any utilities that do this? ...
0
by: fredloh | last post by:
i have a tab control on my form. i then have several microsoft date and time picker control on the tab control. when i select a date on any of the date and time picker control, the result of the...
0
by: SpaceyFace | last post by:
i don't know what the problem is. i have a color picker component and a movie clip. i want the movie clip to change color once i use the picker. and have a easy variable to store the color value as...
2
by: SpaceyFace | last post by:
hellooooo. i'm havin a real hard time tryin to find a color picker that i can easily use. I'm making an interactive flash file that has a color picker for different colors of an object. the object...
1
by: Bobby | last post by:
Hi, I'm using Office 2007. I have a text field called txtDate which is formatted to medium date. This gives me the date picker when the control has the focus. I have several other text controls...
0
by: =?Utf-8?B?a3BpenpsZQ==?= | last post by:
Hi all. using vs.net 9, C# I've got a trivial dilemma right now with my datetimepicker. It is bound to a datetime field in a database. This field is also set to not allow nulls. The default...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.