PDFKit.NET 5.0 PDFKit.NET 5.0

Namespace TallComponents.PDF.Colors

Class RgbColor

RGB color.

A color specified with 3 components: Red, Green and Blue.

Syntax

public class RgbColor : DeviceColor

Constructors


Create a new RgbColor from it's color components.

Create a new RgbColor from a GDI+ color.

Properties


Blue color component [0-255]

RGB Black

RGB Blue

Green color component [0-255]

RGB Gray

RGB Green

The name of the RGB color.

RGB Orange

Get the name of the color as it can be parsed again.

RGB Purple

Red color component [0-255]

RGB Red

RGBA Transparent

RGB White

RGB Yellow

Methods


Comvert this color to a System.Drawing.Color.

Operators


Provides implicit conversion from System.Drawing.Color.