谁能告诉我如何将3个int的山谷 R,G,B
成串色(十六进制值)在C#
INT红色= 255;
INT绿色= 255;
INT蓝色= 255;
串hexColor =#+ red.ToString(X)+ green.ToString(X)+ blue.ToString(X);
Can anyone tell me how to convert three int vales r, g, b
into a string color(hexa value) in C#
int red = 255;
int green = 255;
int blue = 255;
string hexColor = "#" + red.ToString("X") + green.ToString("X") + blue.ToString("X");
上一篇:JSON的Android的ListViewAndr、JSON、ListView、oid
下一篇:Ninject WCF扩展ArgumentNullException使用net.tcp绑定绑定、WCF、Ninject、ArgumentNullException