Solved

VB.net html Specific/ARGB colors

Posted on 2014-04-08
2
251 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
Comment Utility
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
Comment Utility
Thanks very much
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Creating an analog clock UserControl seems fairly straight forward.  It is, after all, essentially just a circle with several lines in it!  Two common approaches for rendering an analog clock typically involve either manually calculating points with…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

744 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