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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Shr88
Frequent Visitor

Shape theme json

Hello everyone,

 

I'm currently working on defining shape specifications in my Power BI report using the guidelines found here: PowerBI-ThemeTemplates/Shape.json.

 

Below is the JSON configuration I’m using:


"basicShape": {
"*": {
"fill": [
{
"show": true,
"fillColor": {
"solid": {
"color": "#F39000"
}
},
"transparency": 40
}
],
"text": [
{
"show": true,
"fontFamily": "Factoria",
"fontColor": {
"solid": {
"color": "#FFFFFF"
}
}
}
],
"rotation": [
{
"angle": 90
}
],
"visualHeader": [
{
"show": false
}
]
}
}

 

However, after importing this JSON specification into my Power BI report, the expected fill color #F39000 (which should be orange) appears as pink instead, as shown in the attached screenshot.

 

Shr88_0-1741160627636.png

 

Has anyone else encountered this issue, or can you offer insights into what might be going wrong? Any assistance would be greatly appreciated.

 

Thank you!

10 REPLIES 10
v-nmadadi-msft
Community Support
Community Support

Hi @Shr88 

As we haven’t heard back from you, we wanted to kindly follow up to check if the solution provided by the community members for the issue worked. If our response addressed, please mark it as Accept as solution and click Yes if you found it helpful.

 

Thanks 

v-nmadadi-msft
Community Support
Community Support

Hi @Shr88 
I wanted to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions. If our responses has addressed your query, please accept it as a solution and give a 'Kudos' so other members can easily find it.


Thank you.

v-nmadadi-msft
Community Support
Community Support

Hi @Shr88 

May I ask if you have resolved this issue? If so, please mark the helpful reply and accept it as the solution. This will be helpful for other community members who have similar problems to solve it faster.

Thank you.

 

v-nmadadi-msft
Community Support
Community Support

Hi @Shr88 

As a troubleshooting step, it's important to ensure that you're using the latest version of Power BI Desktop, especially when encountering unexpected behavior, compatibility issues, or errors during development or report publishing.

Also, Try testing with other hex color codes to verify whether they render as expected this will help determine if the issue is specific to the #F39000 fill color or if it's a broader problem with the theme template.

Additionally, Please try applying the same theme template in a new PBIX file to see if the issue persists or if it resolves in a fresh report environment.

If you find this post helpful, please mark it as an "Accept as Solution" and consider giving a KUDOS. Feel free to reach out if you need further assistance.
Thank you

rajendraongole1
Super User
Super User

Hi @Shr88 - Make sure the color hex code is correctly formatted. You used #F39000, which is correct, but sometimes removing the # or ensuring there are no extra characters in the JSON can help.

 

try the attached json file.

 

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





thanks @rajendraongole1 I attempted to incorporate your specifications above into my theme file, but unfortunately, I’m not seeing the desired effect.

Shr88_1-1741167111109.png

 

Just to clarify, I’m trying to apply this specifically to a rectangle.

Shr88_0-1741166442990.png

 

Hi @Shr88  -Thank you for sharing the screenshots. The JSON theme configuration looks correct, but the rectangle is still showing as pink instead of the expected orange (#F39000).

 

"basicShape": {
"rectangle": {
"fill": [
{
"show": true,
"fillColor": {
"solid": {
"color": "#F39000"
}
},
"transparency": 0
}
]
}
}





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





Thank you, but this hasn't worked either 😐

Deku
Super User
Super User

Is a that a brand new visual? If you've set a colour on a visual before, to overwrite the default, even if you update the theme the user selected colour will remain for that visual


Did I answer your question?
Please help by clicking the thumbs up button and mark my post as a solution!
Shr88
Frequent Visitor

It's the rectangle shape, not a new visual.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.