Method FromRgb

Namespace
SoftZenPdf
Assembly
SoftZenPdf.dll

FromRgb(byte, byte, byte)

Creates a colour from 8-bit components (0–255).

public static PdfColor FromRgb(byte r, byte g, byte b)

Parameters

r byte

Red, 0–255.

g byte

Green, 0–255.

b byte

Blue, 0–255.

Returns

PdfColor