Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
sy898661
Helper V
Helper V

json file color theme help

Hello,

I am trying to create a new theme but cannot for the life of me figure out how to save as a json file. I do not have Notepad++, just regular notepad, and google does not seem to understand that when I type in my question so it is not helping. Would it be possible for someone to save this as a json file and send it to me? I'm not sure if forumns works that way but it was worth asking!

Thank you!!

 

{
    "name": "BMTheme",
    "dataColors": [
        "#a0a0a0",
        "#646464",
        "#02e56",
        "#353d98",
        "#0509c",
        "#a9218E",
        "#ee304e",
        "#f26631"
    ]
}

1 ACCEPTED SOLUTION
Anonymous
Not applicable

HI @sy898661,

 

Your custom theme doesn't necessarily have to be a json file as long as it's in a json format.

You can use Notepad and save it as a text file - it works fine. Just remember to change the file type in the file explorer when importing the custom theme so you can find the text file.

 

Import ThemeImport ThemeChange the file typeChange the file type

 

 

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

HI @sy898661,

 

Your custom theme doesn't necessarily have to be a json file as long as it's in a json format.

You can use Notepad and save it as a text file - it works fine. Just remember to change the file type in the file explorer when importing the custom theme so you can find the text file.

 

Import ThemeImport ThemeChange the file typeChange the file type

 

 

Anonymous
Not applicable

HI @sy898661,

 

Your json theme code has wrong color code, please modify these bold part as valid color code:

{
   "name":"BMTheme",
   "dataColors":[
      "#a0a0a0",
      "#646464",
      "#02e56",
      "#353d98",
      "#0509c",
      "#a9218E",
      "#ee304e",
      "#f26631"
   ]
}

 

Regards,

Xiaoxin Sheng

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.