Forum Discussion
Report Theme Colors
- 9 years ago
Hi UlrickT,
Yes, the colors show up as you list them in the JSON. Power BI extends the colors from lighter to it. After all, the colors listed in the JSON aren't enough.
{ "name": "St Patricks Day", "dataColors": ["#568410", "#3A6108", "#70A322", "#915203", "#D79A12", "#bb7711", "#114400", "#aacc66"], "background":"#FFFFFF", "foreground": "#3A6108", "tableAccent": "#568410" }Best Regards!
Dale
Hi UlrickT,
According to my test, Power BI uses the color along the horizontal of the color-picker, which could avoid two similar colors getting together.
Best Regards!
Dale
In which order do they show up? Is that in the order you listed the HEX in the JSON?
- v-jiascu-msft9 years agoMicrosoft Employee
Hi UlrickT,
Yes, the colors show up as you list them in the JSON. Power BI extends the colors from lighter to it. After all, the colors listed in the JSON aren't enough.
{ "name": "St Patricks Day", "dataColors": ["#568410", "#3A6108", "#70A322", "#915203", "#D79A12", "#bb7711", "#114400", "#aacc66"], "background":"#FFFFFF", "foreground": "#3A6108", "tableAccent": "#568410" }Best Regards!
Dale
- Anonymous7 years agoNot applicable
Coudl you please look into my question and reply if there is any work around.
Here is the link for my post:
Thanks in advance