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

Thanks,
ak

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

Open in new window

akohanAsked:
Who is Participating?
 
dolcezzzaConnect With a Mentor Commented:
rgb(192,192,192)

here is a godd read:
http://www.w3schools.com/html/html_colors.asp
0
 
dolcezzzaConnect With a Mentor Commented:
rgb(102, 153, 204) is your color
0
 
firebeastCommented:
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
0
All Courses

From novice to tech pro — start learning today.