How to create custom System.Drawing.Color

by rbellantoni 3/26/2010 12:00:00 PM

You can create your own custom system.drawing.color from HTML color codes like this:

 

System.Drawing.Color customGreen = System.Drawing.ColorTranslator.FromHtml("#CCFFCC");

Tags:

Comments

Powered by BlogEngine.NET 1.5.0.7
Theme by Mads Kristensen

About the author

Name of author Author name
Something about me and what I do.

E-mail me Send mail

Calendar

<<  October 2018  >>
MoTuWeThFrSaSu
24252627282930
1234567
891011121314
15161718192021
22232425262728
2930311234

View posts in large calendar

Recent comments

Tags

Disclaimer

The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

© Copyright 2018

Sign in