Solved

VB.net html Specific/ARGB colors

Posted on 2014-04-08
2
262 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

If you're writing a .NET application to connect to an Access .mdb database and use pre-existing queries that require parameters, you've come to the right place! Let's say the pre-existing query(qryCust) in Access takes a Date as a parameter and l…
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 a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

759 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