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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

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
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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