[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 295
  • Last Modified:

VB Code Web Form set color

I'd like to set colors in my VB COde to "#c1c1c1"

Not Drawing.Color.Whatever
0
lrbrister
Asked:
lrbrister
1 Solution
 
CodeCruiserCommented:
Use following

 System.Drawing.ColorTranslator.FromHtml("#c1c1c1");
0
 
lrbristerAuthor Commented:
Codecruiser,
  Thanks.  You gave me that about 2 years ago and I just hadn't used in in a while.
0

Featured Post

Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now