Html – gmail html email background color

emailhtml

IS there any way to put color as background in HTML email for gmail?

I used this for making body background grey but it doesnt work

<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" bgcolor="#e2e3e7" style="font-family:Arial, Helvetica, sans-serif;">

Best Solution

Wrap your email in a single celled table with 100% width and height and set the background colour for that cell.

<table width="100%" height="100%">
    <tr>
        <td width="100%" height="100%" bgcolor="#e2e3e7">

            <!-- "Content" table goes here -->
            <table width="600" align="center" bgcolor="#ffffff">

            </table>

        </td>
    </tr>
</table>