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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
alexbe
Frequent Visitor

Color codes

Hi Team,

 

I need a very specific color in my PowerBI charts which I have the color codes from PowerPoint from.

 

The code is a RGB (red, green, blue) model. Eg. Red: 73, Green: 38, Blue: 128

 

Is there any way I can translate this to PowerBI?

 

Thanks,

Alex

1 ACCEPTED SOLUTION
MFelix
Super User
Super User

Hi @alexbe,

 

If you look in google RGB to HEX you will get a page that allows you to enter the RGB codes:

 

https://www.google.pt/search?ei=zMZgWuuKLIPZwQKOnb6YCw&q=rgb+to+hex&oq=rgb+to+hex&gs_l=psy-ab.3..0i6...

 

Then just copy the hex code (top one) to your PBI, don't copy the #.

 

Regards,

MFelix


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



View solution in original post

5 REPLIES 5
MayYu
Frequent Visitor

another solution is open a Excel worksheet, select a cell, fill in the RGB code. then you will see its HEX code. For instance, in Excel, if you select the color as Red 255, Green 0, Blue 0. Then Excel will tell you the HEX color is FF0000

@MayYu,

 

Currently this is not even necessary because in the February 2021 they added the option of a new color selection and is now available in HEX or RGB. 


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



MayYu
Frequent Visitor

Thanks a lot MFelix, currently I'm still on the September 2020 version, really need to upgrade the version.

MFelix
Super User
Super User

Hi @alexbe,

 

If you look in google RGB to HEX you will get a page that allows you to enter the RGB codes:

 

https://www.google.pt/search?ei=zMZgWuuKLIPZwQKOnb6YCw&q=rgb+to+hex&oq=rgb+to+hex&gs_l=psy-ab.3..0i6...

 

Then just copy the hex code (top one) to your PBI, don't copy the #.

 

Regards,

MFelix


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



alexbe
Frequent Visitor

Amazing. Thank you very much 🙂

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.