How to use RGB color in HTML?

Hello group,

I've an HTML code which is attached in snippet section. However, I need to use RGB color as R=59 G=89 and B=152; how can I do this ?
I need to use above RGB color instead of bgcolor=#6699CC


<table bordercolor="#6699CC" width="450px" height="50px" align="center" border="0">
  <td bgcolor="#6699CC">
      <div style="margin:5px"
	<h2 style="color: #FFFFFF"; align="center">1)  Some text goes here ....  </h2>

Open in new window

Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.


here is a godd read:

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
rgb(102, 153, 204) is your color
if you can see the color on your screen there are 2 things you can do, install color picker for firefox, that will give you the hex code of any color in the web browser. the other option is to use dream weaver or one of the other programs out there to tell you the hex value of a color on the screen..

good luck

also googling RGB to hex might give you an answer to your question also
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Languages and Standards

From novice to tech pro — start learning today.