Click here to Skip to main content
15,890,438 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I am trying to change Tab pages Back color . I want to change it to RGB(34,49,63)

but i dont know the name of color. How to get this color.(i.e changing RGB to Name)

<pre>pre>SolidBrush sb = new SolidBrush(Color.AntiqueWhite);



Instead of Color.AntiqueWhite i want Color.RGB(34,49,63)

What I have tried:

SolidBrush sb = new SolidBrush(RGB(34,49,63));
Posted
Updated 18-Mar-20 11:28am
v2

1 solution

How about:
SolidBrush sb = new SolidBrush(Color.FromArgb(34, 49, 63));
/ravi
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900