rgb
CSS property · 12 supported, 8 partial, 0 unsupported across 21 clients
rgb splits the field: 12 full, 8 partial of 21 clients as of Oct 14, 2026, the partials (Gmail, Gmail Android, Gmail iOS) are where sends go wrong.
- 4/7 webmail, 4/6 desktop, 4/8 mobile clients support rgb fully.
- Partial in Gmail, Gmail Android, Gmail iOS, Outlook Classic and 4 more, behavior differs from browsers, test before relying on it.
- Outlook Classic (Word engine, supported to at least 2029) does not fully support rgb, one of the few features its replacement actually fixes; see the deprecation diff.
- Across all clients, only 6 of 298 tracked HTML/CSS features render identically everywhere.
Source: caniemail.com (MIT), via the Emailens engine. Last tested upstream May 14, 2021, synced by Emailens Oct 14, 2026.
Client Support
| Client | Category | Engine | Support |
|---|---|---|---|
| Gmail | webmail | Gmail Web | PartialSee caveat 1 |
| Gmail Android | mobile | Gmail Mobile | PartialSee caveat 1 |
| Gmail iOS | mobile | Gmail Mobile | PartialSee caveat 1 |
| Outlook 365 | webmail | Outlook Web | Supported |
| Outlook (New) | desktop | Outlook Web | Supported |
| Outlook Classic | desktop | Microsoft Word | PartialSee caveat 2 |
| Outlook iOS | mobile | Outlook Mobile | Supported |
| Outlook Android | mobile | Outlook Mobile | Supported |
| Outlook for Mac | desktop | WebKit | Supported |
| Apple Mail | desktop | WebKit | Supported |
| Apple Mail iOS | mobile | WebKit | Supported |
| Yahoo Mail | webmail | Yahoo | PartialSee caveat 3 |
| Yahoo Mail Android | mobile | Yahoo | PartialSee caveat 3 |
| Yahoo Mail iOS | mobile | Yahoo | PartialSee caveat 3 |
| Samsung Mail | mobile | Samsung | Supported |
| Thunderbird | desktop | Gecko | Supported |
| HEY Mail | webmail | WebKit | Supported |
| Proton Mail | webmail | Proton | Supported |
| AOL Mail | webmail | AOL | PartialSee caveat 3 |
| Fastmail | webmail | Fastmail | Supported |
| Superhuman | desktop | Blink | Unknown |
Documented caveats (3)
- 1.Gmail, Gmail Android, Gmail iOS: Whitespace syntax is not supported (
rgb(0 128 0 / 1)). whitespace syntax (rgb(0 128 0)): when used in thestyleattribute of an element, the whole attribute is stripped. When used inside<style>, the whole<style>block is stripped. - 2.Outlook Classic: Whitespace syntax is not supported (
rgb(0 128 0 / 1)). Alpha value is not supported (rgb(0, 128, 0, 0.5)). - 3.Yahoo Mail, Yahoo Mail Android, Yahoo Mail iOS, AOL Mail: Whitespace syntax is not supported (
rgb(0 128 0 / 1)).
Caveats recorded by caniemail.com (MIT) and carried verbatim, one entry per wording rather than per client.
Client-by-client behaviour for rgb
Fully supports rgb (12): Outlook 365, Outlook (New), Outlook iOS, Outlook Android, Outlook for Mac, Apple Mail, Apple Mail iOS, Samsung Mail, Thunderbird, HEY Mail, Proton Mail, Fastmail.
Partial support (8): Gmail, Gmail Android, Gmail iOS, Outlook Classic, Yahoo Mail, Yahoo Mail Android, Yahoo Mail iOS, AOL Mail. Expect rendering quirks unique to each engine. Partial support typically means a subset of values, an ignored shorthand, or sanitizer-specific rewrites.
Behaviour unverified in: Superhuman.
Fixes & Workarounds
Gmail
Partial"rgb" is not supported in this email client.
Gmail Android
Partial"rgb" is not supported in this email client.
Gmail iOS
Partial"rgb" is not supported in this email client.
Outlook Classic
Partial"rgb" is not supported in this email client.
Yahoo Mail
Partial"rgb" is not supported in this email client.
Yahoo Mail Android
Partial"rgb" is not supported in this email client.
Yahoo Mail iOS
Partial"rgb" is not supported in this email client.
AOL Mail
Partial"rgb" is not supported in this email client.
Related Features
Check your own HTML for rgb
Paste your own, or run the sample below. Analyzed in this page, with no signup and nothing stored.
Test your rgb layout across 21 email clients
Preview rendering, catch CSS issues, and see how rgb displays across Outlook, Gmail, and Apple Mail. Free, no account needed.
Instant live preview · No signup required · 21 email engines
Last tested upstream: · Last synced by Emailens:
caniemail.com (MIT) records May 14, 2021 as the last time rgb was tested in a real client, 5 years before this sync. Syncing copies that result forward, it does not re-test it. Carried in @emailens/engine data v0.14.5.