PdfColorFromHex Method

Creates a color from a hexadecimal color string

Definition

Namespace: EvoPdf.Next
Assembly: EvoPdf.Next (in EvoPdf.Next.dll) Version: 14.10.0
C#
public static PdfColor FromHex(
	string hex
)

Parameters

hex  String
A hexadecimal color string in the format #RRGGBB or RRGGBB

Return Value

PdfColor
A color instance

See Also