Table of Contents

Constructor MailDocumentColour

Namespace
MailFathom.Application.EmailContent.Rendering.Document
Assembly
MailFathom.Application.dll

MailDocumentColour(byte, byte, byte)

One opaque colour a message asked for, as three channels.

public MailDocumentColour(byte Red, byte Green, byte Blue)

Parameters

Red byte

The red channel.

Green byte

The green channel.

Blue byte

The blue channel.

Remarks

A colour rather than a CSS colour value: whatever notation the message wrote — a keyword, three or six hexadecimal digits, or an rgb() function — is resolved during the reduction and what crosses the wire is three numbers. So a client parses nothing, and a notation nobody implemented cannot arrive as text a renderer would have to decide about.

Opaque deliberately. Alpha would let a message make its own text invisible against the pane it is drawn in, which is a legibility decision the pane keeps rather than one a sender takes, and a translucent background would compose with whichever theme the reader is in rather than with the one the sender assumed.