I have one method named ChangeFormBackground(Color colorName) which changes the form background with the colorname which is the parameter of the method.Now when I call this method I have not color name but the hexadecimal code of the color and I want to change the background color of the form with that hexadecimal code using that method then what should I do?
I have one method named ChangeFormBackground(Color colorName) which changes the form background with the
Share
This will always work because it doesn’t contain alpha color (which is not supported by BackColor property):