Initializes a new instance of the class.

Namespace: Spire.Pdf.Graphics
Assembly: Spire.Pdf (in Spire.Pdf.dll) Version: 6.2.6.0 (6.2.6.2020)

Syntax

            
 C#  Visual Basic  Visual C++  F# 
public PdfRGBColor(
	byte red,
	byte green,
	byte blue
)
Public Sub New ( 
	red As Byte,
	green As Byte,
	blue As Byte
)
public:
PdfRGBColor(
	unsigned char red, 
	unsigned char green, 
	unsigned char blue
)
new : 
        red : byte * 
        green : byte * 
        blue : byte -> PdfRGBColor

Parameters

red
Byte
Red channel value.
green
Byte
Green channel value.
blue
Byte
Blue channel value.

See Also