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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
July 2024 Power BI Update

Power BI Monthly Update - July 2024

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

PBI_Carousel_NL_June

Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.

Top Solution Authors