How to use the Power BI Theme JSON Generator
- 1. Enter your coloursPaste hex codes for data series, background, text and table accent.
- 2. Generate the JSONPress the button to build and preview the theme file.
- 3. Import in Power BIView › Themes › Browse for themes, then pick the downloaded file.
What goes into a Power BI theme file
A report theme is a small JSON file. Power BI reads a few top-level keys and applies them to every visual:
- name – the label shown in the Themes menu.
- dataColors – the series colours, used in the order you list them.
- background, foreground, tableAccent – page and visual background, main text colour, and the accent used by tables and matrices.
- good, neutral, bad – colours for KPI and waterfall states.
- textClasses – optional fonts for callouts, titles, headers and labels.
With the default inputs the tool writes "name": "Uncodemy Orange", six data colours and "tableAccent": "#FF5421". Short codes like #f52 are expanded to #FF5522 and every code is turned to upper case so the file is consistent.
Tips for colours that work in reports
Put your strongest brand colour first, because single-series charts use only the first data colour. Keep the second and third colours clearly different in lightness, so charts still read when printed in black and white or seen by colour-blind viewers. A dark foreground such as #252423 on a white background keeps text contrast high.
The file only changes colours and fonts. Visual-level formatting you set by hand in a report wins over the theme. If a visual does not change after import, reset its colours to default and it will pick up the theme.
Need a colour code? The HEX to RGB converter helps. To test a chart quickly, try the pie chart maker.
Frequently asked questions
Does this work with Power BI Service?
Yes. You can import the same JSON in the Power BI Service when editing a report, under View › Themes.
Can I edit the file later?
Yes. It is plain JSON. Open it in any text editor or paste it back here and change the colours.
Is the Power BI Theme JSON Generator free?
Yes, the Power BI Theme JSON Generator is free. The first time you generate your first theme, you are asked for your name and WhatsApp number once. After that, this and every other Uncodemy tool opens straight away without the form.