converting rgb values to System.Drawing

Posted by Chris on Stack Overflow See other posts from Stack Overflow or by Chris
Published on 2010-01-13T23:43:46Z Indexed on 2010/04/17 23:13 UTC
Read the original article Hit count: 245

Filed under:
|
|
|

Hi, I've looked around, but don't see this question - maybe its too easy, but I don't have it.

If I have file containing color values like:

255, 65535, 65280 ( I think this is green)

is there a way to either:

  1. convert these to a System.Drawing.Color type or....better yet..
  2. have .NET accept them as is to represent the color?

thanks,

© Stack Overflow or respective owner

Related posts about .NET

Related posts about color