Solved

VB.net html Specific/ARGB colors

Posted on 2014-04-08
2
260 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

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

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…
The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

831 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