.NET - Converting Color Name Strings into System.Drawing.Color

Posted by tyndall on Stack Overflow See other posts from Stack Overflow or by tyndall
Published on 2009-02-23T21:49:18Z Indexed on 2010/04/10 19:23 UTC
Read the original article Hit count: 387

Filed under:
|
|

What is the best way to turn strings like "red", "green", "yellow", "aliceblue", etc... into the actual System.Drawing.Color value?

I was looking at reflection and something about that didn't seem right.

© Stack Overflow or respective owner

Related posts about .NET

Related posts about colors