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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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