set_theme_structural_colors
Set structural colors in a Power BI report theme using a JSON object of hex values for elements like background and tableAccent. Only supplied colors are updated; run generate_theme first.
Instructions
Set the report theme's STRUCTURAL colours. colors = JSON object with any of: firstLevelElements, secondLevelElements, thirdLevelElements, fourthLevelElements, background, secondaryBackground, tableAccent (foreground is an alias of firstLevelElements). Each value is a hex colour; only supplied keys change. Run generate_theme first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| colors | Yes | JSON object of structural key -> hex | |
| reportSessionId | Yes |