mredkj.com logo

An update blog for mredkj.com

What's this blog about?

mredkj.com is an unfocused programmer resource from Matt, Eric, and Keith

This blog will keep you up to date with our latest site changes.

Friday, February 10, 2006

VB.NET - Code Samples - Convert System.Drawing.Color to Hex String

VB.NET - Code Samples - Convert System.Drawing.Color to Hex String

VB.NET Convert System.Drawing.Color to Hex String Function

posted by Keith [2/10/2006 01:54:00 AM] - permalink - 3 comments

3 comment(s):

Anonymous Anonymous wrote:

I think it isn't the correct solution, because in some cases the components (R or G or B) has only one digit and the backward conversion isn't possible.

Posted [9/26/2006 07:45:00 PM]  

Anonymous Anonymous wrote:

Can you solve that problem? Because I don't...

Posted [9/26/2006 07:47:00 PM]  

Anonymous Anonymous wrote:

I wrote that up before I knew about a class that does this for you.Look into ColorTranslator.ToHtml

http://msdn2.microsoft.com/en-us/library/system.drawing.colortranslator.aspx

Posted [9/28/2006 10:37:00 AM]  

Post a Comment