Complete the code to apply a custom color theme in Power BI.
{
"name": "Custom Theme",
"dataColors": [[1]]
}The dataColors property requires an array of hex color codes as strings to define the theme colors.
Complete the JSON snippet to set the background color of the report page.
{
"name": "Background Theme",
"background": [1]
}The background property expects a string with a hex color code in quotes.
Fix the error in the JSON theme snippet to correctly set the font color.
{
"name": "Font Theme",
"textClasses": {
"title": {
"color": [1]
}
}
}The color property must be a string with the hex code in quotes.
Fill both blanks to define a theme with a primary color and a secondary color.
{
"name": "Two Color Theme",
"dataColors": [[1], [2]]
}The dataColors array holds the colors used in visuals. Here, the first color is primary and the second is secondary.
Fill all three blanks to create a theme with background, foreground, and table accent colors.
{
"name": "Full Theme",
"background": [1],
"foreground": [2],
"tableAccent": [3]
}The background, foreground, and tableAccent properties each require a hex color code string.