|
-
Sep 6th, 2010, 02:46 PM
#1
Thread Starter
Lively Member
[RESOLVED] Color Palette
Is it possible to see the different colors (when using the graphics class) in a palette somewhere? It's hard to choose from the names only (DarkCyan, IndianRed ect, what is this!? )
-
Sep 6th, 2010, 02:49 PM
#2
Addicted Member
Re: Color Palette
Do you mean choosing colors at runtime? Or coding them in?
-
Sep 6th, 2010, 03:32 PM
#3
Thread Starter
Lively Member
Re: Color Palette
Coding them. I don't know how they look, I just have their names. I would like to correlate them. Otherwise I have to try each color sepreatly.
-
Sep 6th, 2010, 03:36 PM
#4
Addicted Member
Re: Color Palette
You could just click on the form then look to the properties window. Just use something like the backcolor property. I think you'll want to look at the 'Web' tab. It gives you the name of the color and then a little picture of what it looks like.
-
Sep 7th, 2010, 01:22 AM
#5
Thread Starter
Lively Member
Re: Color Palette
 Originally Posted by The VBer
I think you'll want to look at the 'Web' tab. It gives you the name of the color and then a little picture of what it looks like.
'Web' tab you say? That sounds like what I need. Where do I find this?
-
Sep 7th, 2010, 01:33 AM
#6
Addicted Member
Re: Color Palette
This is where i was talking about.

The name shown there is the name you would use to code in the color to the program.
-
Sep 7th, 2010, 02:42 AM
#7
Re: Color Palette
If you are using VS2010 you might want to look for an extension. I haven't looked actively, but there might be a simple extension available that displays the color in the Intellisense dropdown. I know there is an excellent example extension available that completely customizes the Intellisense dropdown, so I would be surprised if nobody had used it to create something like this.
If not, you can always give it a shot yourself I tried it but I don't know anything about WPF (the VS2010 IDE is made in WPF and so also the extensions must be) so the UI part of it was over my head and I gave up...
-
Sep 7th, 2010, 05:30 AM
#8
Thread Starter
Lively Member
Re: Color Palette
thanks for the tips! The Web tab worked fine.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|