1. color. fromargb (120,243,244,247)
First, convert F3, F4, And F7 to the decimal number, and then call the above method.
2. Convert F3 F4 F7 to 10 hexadecimal
Use color. fromargb
3. Color yourcolor = color. fromname ("# f3f4f7 ");
4. A stupid method:
String A = "# f3f4f7 ";
New system. Drawing. color. fromargb (
System. int8.parse (A. substring (1, 2), system. Globalization. numberstyles. allowhexspecifier );
System. int8.parse (A. substring (3,2), system. Globalization. numberstyles. allowhexspecifier );
System. int8.parse (A. substring (5, 2), system. Globalization. numberstyles. allowhexspecifier );
);
5. color = color. fromargb (0xf3, 0xf4, 0xf7 );
6. Public forecolor as system. Drawing. Color = colortranslator. fromhtml ("# f3f4f7 ")
7. system. Drawing. colorconverter cc = new system. Drawing. colorconverter ();
Return (system. Drawing. Color) CC. convertfromstring (shex );