Brand the web portal

Applies to: ✅ SQL Server 2016 (13.x) Reporting Services and later ✅ Power BI Report Server

You can alter the appearance of the web portal by branding it to your business. This is done through a brand package. The brand package is designed so you don't need deep cascading stylesheet (CSS) knowledge to create it.

Create the brand package

A brand package for Reporting Services consists of three items and is packaged as a zip file.

  • colors.json
  • metadata.xml
  • logo.png (optional)

The files must have the names listed above. Package these files into a zip file. The zip file can be named however you like.


The metadata.xml file allows you to set the name of the brand package, and has a reference entry for both your colors.json and logo.png files.

To change the name of your brand package, change the name attribute of the SystemResourcePackage element.

    name="Multicolored example brand"  

You can optionally include a logo picture in your brand package. This item would be listed within the Contents element.

Example without a logo file.

    <Item key="colors" path="colors.json" />  

Example with a logo file.

    <Item key="colors" path="colors.json" />  
    <Item key="logo" path="logo.png" />  


When the brand package is uploaded, the server extracts the appropriate name/value pairs from the colors.json file and merges them with the master LESS stylesheet, brand.less. This LESS file is then processed and the resulting CSS file is served to the client. All colors in the stylesheet follow the six-character hexadecimal representation of a color.

The LESS stylesheet contains blocks that reference some predefined LESS variables like the following.

/* primary buttons */   
.btn-primary {   

While this syntax resembles CSS, the color values prefixed with the @symbol are unique to LESS. They're variables whose values are set by the json file.

For example, if the colors.json file had the following values.


The processed output would look up the @primaryButtonBg LESS variable and see that it maps to the json property called primary, which in this example is #009900. It would therefore output the proper CSS.

    .btn-primary {   

All of the primary buttons would be rendered dark green with white text.

The colors.json file, for Reporting Services, has two main categories in which items are grouped.

  • Interface: includes items that are specific to the Reporting Services web portal.
  • Theme: includes items that are specific to mobile reports that you create.

The interface section is broken down into the following groupings.

Section Description
Primary Button and hover colors.
Secondary Title bar, search bar, left hand menu (if displayed) and text color for those items
Neutral Primary Home and report area backgrounds.
Neutral Secondary Text box and folder options backgrounds, and the settings menu.
Neutral Tertiary Site settings backgrounds.
Danger/Warning/Success messages Colors for those messages.
KPI Controls the colors for a good (1), neutral (0), neutral (-1) and none.

The first time you connect to a server with the Mobile Report Publisher that has a brand package deployed, the theme will be added to the available themes you can use in the upper right-hand menu of the app.

Screenshot of the Choose a color palette dialog box.

You can then use that theme for any mobile reports that you create, even if they aren't for the same server that you have the theme deployed on.

If you include a logo with your brand package, it will appear in the web portal in place of the name you set for the web portal in the Site Settings menu.

The file you include for the logo must use the PNG file format. The file dimensions will be scaled once uploaded to the server. It should scale to around 290 px x 60 px.

Apply the brand package to the web portal

Follow these steps to add, download, or remove a brand package.

  1. Select the gear in the upper right.

  2. Select Site Settings.

    Screenshot of the Settings dropdown list with Site Settings option called out.

  3. Select Branding.

    Screenshot of the Site Settings page with the Branding option selected.

Currently installed brand package either displays the name of the package that has been uploaded, or it displays None.

Upload brand package prompts you to select a zip file from a local folder and then apply the package to the web portal. You see it take effect immediately.

You can also Download or Remove the package. Removing the package resets the web portal to the default brand immediately.

metadata.xml example

<?xml version="1.0" encoding="utf-8"?>  
<SystemResourcePackage xmlns=""  
    name="Multicolored example brand"  
        <Item key="colors" path="colors.json" />  
        <Item key="logo" path="logo.png" />  

colors.json example

    "name":"Multicolored example brand",  






        "primaryButton": "#bb2124",
        "primaryButtonHover": "#d31115",
        "primaryButtonPressed": "#3d0000", 
        "link": "#d31115",
        "linkHover": "#671215",
        "linkVisited": "#3d0000", 
        "radioButtonCheckBox": "#bb2124",
        "radioButtonCheckBoxHover": "#d31115"        




Download the Sample Branding Packages

Download the samples from the GitHub site Sample Branding Packages to a local folder. For more information, see the section Apply the brand package to the web portal in this article.

More questions? Try asking the Reporting Services forum