Skip to main content

Gradient

Parameter: gradient

Default: NULL

The gradient parameter allows you to apply a gradient effect to the QR code.

The gradient value should be specified in r,g,b,a,r,g,b,a format. Example: "0,0,0,100,255,0,0,100"

Example

GET

/api/qr?data=sample-data&gradient=20,100,80,250,180,10

Response(s)

Gradient Example