You can use `<canvas>` and `canvas.toDataURL()` to generate the gradient, along with `additional_backgrounds` or `headerURL` to apply it.