Important alert: (current site time 7/16/2013 2:25:57 AM EDT)
 

winzip icon

Color Selector(Final 15 July)

Email
Submitted on: 7/17/2007 3:01:05 AM
By: Robert Rayment 
Level: Beginner
User Rating: By 17 Users
Compatibility: VB 6.0
Views: 16450
author picture
(About the author)
 
     Color Selector by Robert Rayment. Select a color from a list of 140 named colors or from an RGB gradient display. Color info to clipboard. Form location in ini file. Color names from www.learningwebdesign.com/colornames.html. Addition 12 July: Added, by request, spectrally sorted colors (empirical).... Change 13 July: Better Darker/Brighter action.... Additions 15 July: Added system color dialog & closest web-safe colors. Apart from any mistakes this is surely now finished! See Form1 for all updates. Zip 18 KB.

 

Windows API/Global Declarations:

Can't Copy and Paste this?
Click here for a copy-and-paste friendly version of this code!
'**************************************
'Windows API/Global Declarations for :Color Selector(Final 15 July)
'**************************************
A couple - see code
winzip iconDownload code

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. Afterdownloading it, you will need a program like Winzip to decompress it.Virus note:All files are scanned once-a-day by Planet Source Code for viruses, but new viruses come out every day, so no prevention program can catch 100% of them. For your own safety, please:
  1. Re-scan downloaded files using your personal virus checker before using it.
  2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.
  3. Scan the source code with Minnow's Project Scanner

If you don't have a virus scanner, you can get one at many places on the net including:McAfee.com

 
Terms of Agreement:   
By using this code, you agree to the following terms...   
  1. You may use this code in your own programs (and may compile it into a program and distribute it in compiled format for languages that allow it) freely and with no charge.
  2. You MAY NOT redistribute this code (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws.   
  3. You may link to this code from another website, but ONLY if it is not wrapped in a frame. 
  4. You will abide by any additional copyright restrictions which the author may have placed in the code or code's description.


Other 68 submission(s) by this author

 


Report Bad Submission
Use this form to tell us if this entry should be deleted (i.e contains no code, is a virus, etc.).
This submission should be removed because:

Your Vote

What do you think of this code (in the Beginner category)?
(The code with your highest vote will win this month's coding contest!)
Excellent  Good  Average  Below Average  Poor (See voting log ...)
 

Other User Comments
7/8/2007 3:29:11 PMcaver dave

5/5 very good as always, will be interesting to see what more your going to do with it regards dave
(If this comment was disrespectful, please report it.)

 
7/9/2007 8:45:45 AMT.Jackson

Nice work Robert. *****
(If this comment was disrespectful, please report it.)

 
7/10/2007 10:19:37 AMHeriberto Mantilla Santamaria

Very nice Robert, how to try to implement a C, Delphi format color?
(If this comment was disrespectful, please report it.)

 
7/11/2007 8:02:20 AMJoaquin Marcher

nice Robert this will be useful for me =)

5gloves from me =)
(If this comment was disrespectful, please report it.)

 
7/11/2007 6:09:09 PMTodd

Nice tool... Thanks..
(If this comment was disrespectful, please report it.)

 
7/13/2007 10:46:25 AMmarshalfaulkner

Thanks, now I know what papayawhip, gainsboro and fuchsia look like, haha. Fun to play with. Thanks
(If this comment was disrespectful, please report it.)

 
7/17/2007 8:00:02 AMULLI

that's a nice one, robert :-)
(If this comment was disrespectful, please report it.)

 
8/17/2007 4:41:09 AMjupudi vinaya pavani

it is very nice to have such type of codes for the learners thank u very much give some more examples in this way to the learners
(If this comment was disrespectful, please report it.)

 
9/21/2007 4:57:26 AMselvas

i like it and it is very easy and also useful code are there. so i am very very haapy to visit here...
(If this comment was disrespectful, please report it.)

 
1/1/2011 4:31:50 AMRob C

That's worth 5
No dependencies deserves even more..
I like the interface to the System Color Dialog.

I am running XP Pro SP3
The Color Picker is fairly flaky
I commented out the chkPicker_MouseMove sub, and that fixed it.

Thanks for sharing,
Rob
(If this comment was disrespectful, please report it.)

 
1/5/2011 4:29:36 AMRobert Rayment

Rob C: Thanks for vote. I agree, best to comment out that Sub.

(If this comment was disrespectful, please report it.)

 

Add Your Feedback
Your feedback will be posted below and an email sent to the author. Please remember that the author was kind enough to share this with you, so any criticisms must be stated politely, or they will be deleted. (For feedback not related to this particular code, please click here instead.)
 

To post feedback, first please login.