PdfColorFromRgb Method

Creates a color from red, green, and blue components

Definition

Namespace: EvoPdf.Next
Assembly: EvoPdf.Next (in EvoPdf.Next.dll) Version: 14.10.0
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