Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Native card

how to make the background and the title color same on a native card in powerbi

12 REPLIES 12
RaniSahota
Frequent Visitor

@ray_aramburo this only let me do a solid colour how do i do a graident?

It's the same process, you need to know the gradient palette and put each color's HEX code.





Did I answer your question? Give your kudos and mark my post as a solution!

Proud to be a Super User!





How do i find the gradient paletter HEX Code and do you have an example of the measure with the gradient HEX code? Sorry I'm new to PowerBI. Thanks.

You can go to this page as an example: https://coolors.co/gradient-palette/1cdce8-bb77ed?number=7 

Choose your start and end colors and then click on "Open in the generator"

ray_aramburo_0-1698157329860.png

 

It will show you something like this

ray_aramburo_1-1698157377245.png

 

Those codes (#1CDCE8, #2ED1E9, etc.) are the ones you'll input in your measure. 





Did I answer your question? Give your kudos and mark my post as a solution!

Proud to be a Super User!





Fab - Thank you!

ray_aramburo
Super User
Super User

Go to the Formatting pane of the Card > General  > Effects > Background and Select your color.

ray_aramburo_0-1697639319446.png

Now, scroll up to Title go to Text color and select color.

ray_aramburo_1-1697639391340.png

 

You can pick the same by using the Recent colors palette.

ray_aramburo_2-1697639425390.png

 

You can replicate that in the Category label as well

ray_aramburo_3-1697639468557.png

 

 





Did I answer your question? Give your kudos and mark my post as a solution!

Proud to be a Super User!





Anonymous
Not applicable

how do i put in a range of numbers instead of one number under format style(Gradient) Minim, center and maxmum. For example i want to set minimum to have one color for only values between 0 - 10? because i want colors in background to automatically change when the title colors are changing 

In that case you would need to create a measure which establishes the colors upon your ranges and use the fx on the color to base it upon a Field value (the measure). You can't create a gradient for those items unfortunately, you need to create it through the measure.





Did I answer your question? Give your kudos and mark my post as a solution!

Proud to be a Super User!





Anonymous
Not applicable

how do you create a measure?

Go to Home and click on new measure 

ray_aramburo_0-1697641599188.png

There a formula box will be enabled where you would need to type the conditions for your colors:

ray_aramburo_1-1697641676368.png

 

I can help you create it if you provide a base color and the field you want to evaluate against.

 





Did I answer your question? Give your kudos and mark my post as a solution!

Proud to be a Super User!





Anonymous
Not applicable

Please write a sample with any color and imaginary field 

Here it is:

Color Example= SWITCH(SUM('Table'[Column1]), 1, "#00FFFF", 2, "#0000FF", 3, "#89CFF0", 4, "#0096FF")




Did I answer your question? Give your kudos and mark my post as a solution!

Proud to be a Super User!





Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.