A very attractive article on Google Search by Mark Wagner's
http://blogs.crsw.com/mark/articles/1009.aspx
Google Search Web Part
Posted by Zafar Ullah - zafarjcp@gmail.com | 11:09 PM | ASP.NET, C#, IIS | 1 comments »Converting Hexa To RGB & RGB to Hexa Decimal using C#
Posted by Zafar Ullah - zafarjcp@gmail.com | 4:04 AM | .net, ASP.NET, C# | 0 comments »In order to convert Hexa to RGB and RGB to hexa , out of many here are 2 simple ways !
Hexa to RGB
string haxValue = "BDEEC8";
int argb = int.Parse(haxValue, System.Globalization.NumberStyles.HexNumber);
System.Drawing.Color c = System.Drawing.Color.FromArgb(argb);
RGB to Hexa
string rowBG = "240-250-231";
string[] rgb = rowBG.Split('-');
int R = int.Parse(rgb[0]);
int G = int.Parse(rgb[1]);
int B = int.Parse(rgb[2]);
System.Drawing.Color c = System.Drawing.Color.FromArgb(R, G, B);
Subscribe to:
Posts (Atom)