All the methods of System.Drawing.Color, at first, seem to bypass the use of Hex codes, like normally used in HTML. However, there is a method using one argument that you can use:
Color.FromARGB
If you use only one Int32 as an argument, you can preface your Hex code with ‘&H78′ and it will work perfectly – - like this:
myVar=Color.FromARGB(&H78CEEFFF)