Lotus Notes 8.0 Does Not Support Inline RGB Decimal Values


If you include an inline RGB decimal value, Lotus Notes 8.0 will ignore the entire style declaration.

For example:

<td style="font-size:10px; color:rgb(125, 125, 125); font-family:Arial; padding:20px; background-color:#F90"> 
  	This is a TD test
 </td>

Will get converted to this:

<td>
 	This is a TD test
 </td>

What’s the fix?

Simply use hexadecimal values instead:

<td style="font-size:10px; color:#7d7d7d; font-family:Arial; padding:20px; background-color:#F90"> 
 	This is a TD test
 </td>

RGB decimal values are supported in embedded styles so another possible fix is to use embedded styles but this won’t work in Gmail.

For example:

<style type="text/css">
 .rgb_color {
    font-size:10px;
    color:rgb(125, 125, 125);
    font-family:Arial;
  }
</style>

I tested this using the color and background CSS properties within several various HTML tags. This is particularly important if you use WYSIWIG editors when developing HTML emails.

2 thoughts on “Lotus Notes 8.0 Does Not Support Inline RGB Decimal Values”

  1. Thanks for this. Bit worrying for those of us who have WYSIWYG editors in their platforms because Firefox tends to swap all Hex Codes to RGB variants.

Leave a Reply

Your email address will not be published. Required fields are marked *

Free Email Goodies