Posts

Showing posts with the label color

How to add Color in Designer class in c# .

Hi All, In C# control property I am able to find only limited colors, there are custom colors but I was able to use only those which are already there.  Now as per my requirement I want to add color of my choice to my control. We can use #FFFF using # and alphabet , So there should be other way too. For me below code works perfect :   this . BackColor = Color . FromArgb ( 255 , 232 , 232 );   if you go to Color Picker you can see that after color code which start with # there is numbers also .    Link : Color Picker   Thanks Abhi