Solved

VB.net html Specific/ARGB colors

Posted on 2014-04-08
2
257 Views
Last Modified: 2014-04-09
Hi

I am building the html body of an email using the code below. In the code the color is black/
I want to use two other colors: Royal blue  and Burnt Orange. I have no idea whether there are names for this. I knowhow to find the RBB colors. How do I apply a customized color to the html

oHBody & "<html><body><font size=3  color=black name = 'Century Gothic'>Regards, " & "</font></body></html>"
0
Comment
Question by:murbro
2 Comments
 
LVL 52

Accepted Solution

by:
Carl Tawn earned 500 total points
ID: 39986298
You can specify the RGB values with hash notation:
<html>
<body>
  <font color="#FF0000">Hello World</font>
</body>
</html>

Open in new window

BTW, the font element is deprecated, so you might want to look at using a span element with a style applied instead.
0
 

Author Closing Comment

by:murbro
ID: 39988782
Thanks very much
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Red error squiggly on vb.net 7 27
vb.net 2 37
Get the selected ValueMember of Combobox 5 21
rebind a grid after user clicks on node in treeview 1 16
Well, all of us have seen the multiple EXCEL.EXE's in task manager that won't die even if you call the .close, .dispose methods. Try this method to kill any excels in memory. You can copy the kill function to create a check function and replace the …
Microsoft Reports are based on a report definition, which is an XML file that describes data and layout for the report, with a different extension. You can create a client-side report definition language (*.rdlc) file with Visual Studio, and build g…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, just open a new email message. In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now