Select Page

Gmail styles link as blue and underlined by default

#1155CC is the default colour for Gmail links. You can overwrite this colour using inline CSS. However, Gmail ignores #000, #000000, and “black” values.  For example:

This will render as red:

<a href=“” style=“color:#C00”>test</a> 

This will be rendered as the default (#1155CC) colour:

<a href=“” style=“color:#000000”>test</a> 

To fix this use a different hex value that is close to black:

<a href=“” style=“color:#040400”>test</a> 


Links in Gmail are also underlined by default. You can overwrite this style using inline CSS.

For example:
This will render with an underline:

<a href=“”>test</a> 

This will render without an underline:

<a href=“” style="text-decoration:none">test</a> 

About The Author

Rogerio da Silva is a Brazilian who lives in the UK for a little over two decades. He is the owner of a test consulting and outsources services for software development. He likes to blog, write and create content that teaches others how to live a better life. Rogerio has two princesses and one powerful wife that help him with his work. He loves reading biographies of successful authors and dream builders because they inspire him to keep creating!

Leave a reply


Now available on amazon prime

eBook (Amazon)

The Testers Book - An Unconventional Way to Software Testing - Revised Edition

Paperback (