Results 1 to 8 of 8

Thread: [RESOLVED] Color Palette

  1. #1

    Thread Starter
    Lively Member drdress's Avatar
    Join Date
    Jul 2009
    Location
    Copenhagen, Denmark
    Posts
    76

    Resolved [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!? )

  2. #2
    Addicted Member
    Join Date
    Jul 2008
    Location
    Altoona, PA
    Posts
    242

    Re: Color Palette

    Do you mean choosing colors at runtime? Or coding them in?

  3. #3

    Thread Starter
    Lively Member drdress's Avatar
    Join Date
    Jul 2009
    Location
    Copenhagen, Denmark
    Posts
    76

    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.

  4. #4
    Addicted Member
    Join Date
    Jul 2008
    Location
    Altoona, PA
    Posts
    242

    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.

  5. #5

    Thread Starter
    Lively Member drdress's Avatar
    Join Date
    Jul 2009
    Location
    Copenhagen, Denmark
    Posts
    76

    Re: Color Palette

    Quote Originally Posted by The VBer View Post
    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?

  6. #6
    Addicted Member
    Join Date
    Jul 2008
    Location
    Altoona, PA
    Posts
    242

    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.

  7. #7
    PowerPoster
    Join Date
    Apr 2007
    Location
    The Netherlands
    Posts
    5,070

    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...

  8. #8

    Thread Starter
    Lively Member drdress's Avatar
    Join Date
    Jul 2009
    Location
    Copenhagen, Denmark
    Posts
    76

    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
  •  



Click Here to Expand Forum to Full Width