PdfColorFromRgb Method

Creates a color from red, green, and blue components

Definition

Namespace: HiQPdf.Next
Assembly: HiQPdf.Next (in HiQPdf.Next.dll) Version: 18.9.2
C#
public static PdfColor FromRgb(
	int red,
	int green,
	int blue
)

Parameters

red  Int32
The red component value in the range 0 to 255
green  Int32
The green component value in the range 0 to 255
blue  Int32
The blue component value in the range 0 to 255

Return Value

PdfColor
A color instance

See Also