Skip to content

happypdf / rgb

Function: rgb() ​

ts
function rgb(
   red, 
   green, 
   blue): RGB;

Defined in: src/api/colors.ts:45

Parameters ​

ParameterType
rednumber
greennumber
bluenumber

Returns ​

RGB

MIT Licensed. A fork of pdf-lib.