Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Andrzejek on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

color question

Status
Not open for further replies.

kaijanm

Programmer
May 14, 2003
102
US
How do I set the color of something on the backend when all I know is the Hex Code? The color is #7076B5.

I can see tblrw1.BackColor = Color.?

options I can see are fromName, fromArgb, fromknownColor. I think that fromArgb is the closest to what I want but I'm not sure.

Thanks in Advance!

Kimberly
 
I should clarify. I was able to convert the numbers so that I could use the RGB numbers, but I am hoping to find out if there is a way to use the hex numbers. It would be nice to not have to do the conversion since I'm used to thinking of it in Hex.

Thanks!
Kimberly
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top