# IfcColour list

**URL:** <https://forums.buildingsmart.org/t/ifccolour-list/2772>\
**Category:** Uncategorized\
**Created:** [June 14, 2020, 8:35am UTC](https://forums.buildingsmart.org/t/ifccolour-list/2772 "2020-06-14T08:35:21Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![pilarjimenez](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.buildingsmart.org/pilarjimenez/32/407_2.png) [@pilarjimenez](https://forums.buildingsmart.org/u/pilarjimenez)\
**Post date:** [June 14, 2020, 8:35am UTC](https://forums.buildingsmart.org/t/ifccolour-list/2772/1 "2020-06-14T08:35:21Z")

</div>

Hello everyone

Is there any software or tool that list all ifccolour in a group of federated IFC files: RGB numbers and RGB colour?

Thank you in advance  
Pilar

---

<div class="post-metadata">

**Author:** ![Hans\_Lammerts](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.buildingsmart.org/hans_lammerts/32/835_2.png) [@Hans\_Lammerts](https://forums.buildingsmart.org/u/Hans_Lammerts)\
**Post date:** [June 14, 2020, 9:39am UTC](https://forums.buildingsmart.org/t/ifccolour-list/2772/2 "2020-06-14T09:39:43Z")

</div>

Good question. What does ifccolour do and how many other color properties are there now? How do they interact or what is the hierarchy on models displauing the result?

---

<div class="post-metadata">

**Author:** ![Moult](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.buildingsmart.org/moult/32/196_2.png) [@Moult](https://forums.buildingsmart.org/u/Moult)\
**Post date:** [June 14, 2020, 10:26am UTC](https://forums.buildingsmart.org/t/ifccolour-list/2772/3 "2020-06-14T10:26:08Z")

</div>

@pilarjimenez this can be done in one line of code with IfcOpenShell. IfcOpenShell is a very powerful utility that lets you ask questions to IFC, and it comes with the free and open source [https://blenderbim.org/](https://blenderbim.org/) software. After installing it, start Blender and click on the icon on the top left to switch your mode to “Python console” (see screenshot).

Then, type in the code shown, pressing enter after each line. You will need to change `/home/dion/drive/bim/Myran_fixed.ifc` to the location of your IFC file on your computer. On windows this could be something like `C:/Users/you/Documents/Myfile.ifc`

then it will print out a list of all IFC colours in that file. Repeat for each file. If repeating is not an option, or you’d like it formatted differently, e.g. perhaps you want it in a spreadsheet, this can also be done if you describe what you’re looking for.

 ![image](https://us1.discourse-cdn.com/flex016/uploads/buildingsmart1/original/2X/c/cccbd66f4829f0bed7125e6fd8e14d08eab8ca45.png)

---

<div class="post-metadata">

**Author:** ![pilarjimenez](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.buildingsmart.org/pilarjimenez/32/407_2.png) [@pilarjimenez](https://forums.buildingsmart.org/u/pilarjimenez)\
**Post date:** [June 14, 2020, 4:29pm UTC](https://forums.buildingsmart.org/t/ifccolour-list/2772/4 "2020-06-14T16:29:57Z")

</div>

Thank you Muda. I’m going to try BlenderBIM.

Anyway, i’ve just remenbered about Ifc Analyzer. You can get a list of colours in a dedidated sheet of the excel book.

 ![Captura](https://us1.discourse-cdn.com/flex016/uploads/buildingsmart1/original/2X/9/913fc599d9c3402ff7bb4c1f919be9c2036e6e90.jpeg)

In Excel you can get the rgb scale multiplying by 255. Then you can set the color in cells (manually). A bit boring… I would like to easily check colours because clients are starting to ask things like this:

 ![Captura2](https://us1.discourse-cdn.com/flex016/uploads/buildingsmart1/original/2X/2/24e6bbc75c534c5b363e3e5640e22c9cfd8dd8cd.jpeg)

---

<div class="post-metadata">

**Author:** ![Moult](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.buildingsmart.org/moult/32/196_2.png) [@Moult](https://forums.buildingsmart.org/u/Moult)\
**Post date:** [June 14, 2020, 9:25pm UTC](https://forums.buildingsmart.org/t/ifccolour-list/2772/5 "2020-06-14T21:25:26Z")

</div>

That’s a cool feature! There also IFCCSV, which can export data to/from in bulk to CSV to/from IFC. Unfortunately, it doesn’t have a feature to get data unrelated to elements, and it also doesn’t have a colour rendering feature. That would be cool to have! Maybe I should add it…

---

<div class="post-metadata">

**Author:** ![IFCWebServer](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.buildingsmart.org/ifcwebserver/32/2369_2.png) [@IFCWebServer](https://forums.buildingsmart.org/u/IFCWebServer)\
**Post date:** [June 29, 2024, 9:59am UTC](https://forums.buildingsmart.org/t/ifccolour-list/2772/6 "2024-06-29T09:59:33Z")

</div>

Hello Pilar,  
In case if you are still looking for a tool to list and render colors as per your preference for one or more IFC model, you may consider using [IFCWebServer.org](http://IFCWebServer.org) , you can create a free account and upload your models and with few clicks you got the results with options to sort and export to different formats (HTML, CSV, XML).

 ![image](https://us1.discourse-cdn.com/flex016/uploads/buildingsmart1/original/2X/a/abec062bb8bd651576d3a7acd3672e05789397da.png)

Let me know if you need any support 🙂

Ali Ismail
