Data Colors
By default, BTA visuals assign colors from the active Color Scheme. The Data Colors settings let you override this with a fixed list of hex colors — one per data category or series — giving you precise brand-aligned control.
Settings
Use Custom Colors
| Property | Type | Default |
|---|---|---|
useCustomColors | boolean | false |
When false, colors are derived from the active Color Scheme. When true, the customColors list is used instead.
Custom Colors
| Property | Type | Default |
|---|---|---|
customColors | string[] | See below |
An ordered list of hex color strings. The first color is assigned to the first data category, the second color to the second category, and so on. If there are more categories than colors, the list wraps around (cycles) from the beginning.
Default Custom Colors
The default list provides 12 accessible, well-spaced colors:
| Index | Hex | Color |
|---|---|---|
| 1 | #3b82f6 | Blue |
| 2 | #ef4444 | Red |
| 3 | #22c55e | Green |
| 4 | #f59e0b | Amber |
| 5 | #8b5cf6 | Purple |
| 6 | #ec4899 | Pink |
| 7 | #06b6d4 | Cyan |
| 8 | #f97316 | Orange |
| 9 | #14b8a6 | Teal |
| 10 | #6366f1 | Indigo |
| 11 | #84cc16 | Lime |
| 12 | #a855f7 | Violet |
How to Configure in Power BI
In the format pane, enable Use Custom Colors, then enter a comma-separated list of hex values in the Custom Colors field. Example:
#0f172a, #1e40af, #0284c7, #0891b2Colors are applied in the order listed. You do not need to include a # prefix if your format pane strips it — the visual handles both forms.
Tips
- Use custom colors when the report has strict brand guidelines and the built-in schemes do not match.
- Keep the list at or above the number of data categories to avoid unintended color repetition.
- Providing exactly two colors works well for binary comparisons (e.g., actual vs. target, pass vs. fail).
- For accessibility, ensure sufficient contrast between adjacent series colors. Tools like Colorable or the WebAIM contrast checker can help.
- If you later switch
useCustomColorsback tofalse, the visual reverts to the active Color Scheme without losing the stored custom color list.