Configuration | Colours

The colour of the PDF background, toolbar and icons can be overridden with your preferred values. You can see the default values here.

builder.Services.AddBlazorPdfViewer(opt =>
{
    // Hot dog stand theme
    opt.Colors.Toolbar = "#000";
    opt.Colors.Icon = "#FF0000";
    opt.Colors.Background = "#FFFF00";
});

The above code will produce the following output;

An image of the PDF Viewer with a garish theme reminiscent of the Windows 3.1 Hotdog Stand theme.
An unhandled error has occurred. Reload 🗙