With below code, the colorsting always gives #DDDD. Green, Red and Space values int he How to fix this?
string colorstring; int Blue = 13; int Green = 0; int
More generally.
byte[] buf = new byte[] { 123, 2, 233 }; string s = String.Concat(buf.Select(b => b.ToString("X2")));