Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi,
i have been trying to work out a way to create a theme witht he added help of having a background for the card visual.
I was wondering if there is anyway of doing this is. if so it would greatly appreciated.
thanks
Solved! Go to Solution.
@abdul2134,
There is an example for you.
{
"name": "MYTHEME",
"background": "#FFFFFF",
"foreground": "#000000",
"tableAccent": "#5073b9",
"dataColors": [
"#003366",
"#5073b9",
"#82A1BD",
"#A8C5E0",
"#A4D3E3",
"#366996",
"#304E64",
"#004576",
"#666666",
"#000000"
],
"visualStyles": {
"card": {
"*": {
"title": [{
"show": true,
"fontColor": { "solid": { "color": "#F17925" } },
"background": { "solid": { "color": "#FFFFFF" } },
"alignment": "center",
"fontSize": 11,
"fontFamily": "Arial"
}],
"background": [{
"show": true,
"color": { "solid": { "color": "#777777" } },
"transparency": 50
}],
"lockAspect": [{
"show": true
}],
"border": [{
"show": true,
"color": { "solid": { "color": "#F17925" } }
}]
}
}
}
}
Reference:
https://powerbi.microsoft.com/en-us/blog/power-bi-desktop-july-2018-feature-summary/#theme
Regards,
Lydia
@abdul2134,
There is an example for you.
{
"name": "MYTHEME",
"background": "#FFFFFF",
"foreground": "#000000",
"tableAccent": "#5073b9",
"dataColors": [
"#003366",
"#5073b9",
"#82A1BD",
"#A8C5E0",
"#A4D3E3",
"#366996",
"#304E64",
"#004576",
"#666666",
"#000000"
],
"visualStyles": {
"card": {
"*": {
"title": [{
"show": true,
"fontColor": { "solid": { "color": "#F17925" } },
"background": { "solid": { "color": "#FFFFFF" } },
"alignment": "center",
"fontSize": 11,
"fontFamily": "Arial"
}],
"background": [{
"show": true,
"color": { "solid": { "color": "#777777" } },
"transparency": 50
}],
"lockAspect": [{
"show": true
}],
"border": [{
"show": true,
"color": { "solid": { "color": "#F17925" } }
}]
}
}
}
}
Reference:
https://powerbi.microsoft.com/en-us/blog/power-bi-desktop-july-2018-feature-summary/#theme
Regards,
Lydia
Hi,
maybe you can help me by my problem:
https://community.powerbi.com/t5/Desktop/report-theme-set-border-for-all-visuals/m-p/520921#M243646
Thanks you for your time!
best regards
Nick
thanks for that @Anonymous
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 39 | |
| 37 | |
| 33 | |
| 32 | |
| 29 |
| User | Count |
|---|---|
| 132 | |
| 88 | |
| 82 | |
| 68 | |
| 64 |