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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! 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
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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.

Top Solution Authors
Top Kudoed Authors