# BPMN InterPretation

**URL:** <https://forum.bpmn.io/t/bpmn-interpretation/5284>\
**Category:** Developers\
**Created:** [October 9, 2020, 5:40pm UTC](https://forum.bpmn.io/t/bpmn-interpretation/5284 "2020-10-09T17:40:50Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Niklas\_Kiefer](https://forum.bpmn.io/user_avatar/forum.bpmn.io/niklas_kiefer/32/3882_2.png) [@Niklas\_Kiefer](https://forum.bpmn.io/u/Niklas_Kiefer)\
**Post date:** [October 12, 2020, 7:28am UTC](https://forum.bpmn.io/t/bpmn-interpretation/5284/4 "2020-10-12T07:28:54Z")

</div>

A similar question was answered recently, maybe you’ll find a solution there: [How to add color to BPMN diagram for dynamic XML](https://forum.bpmn.io/t/how-to-add-color-to-bpmn-diagram-for-dynamic-xml/5269)

Colors in BPMN are handled via `bioc:fill` and `bioc:stroke` properties in the di information. The cleanest way is to populate those information dependent on state to the XML before importing it to the renderer so it can render it accordingly.

---

_[View the full topic](https://forum.bpmn.io/t/bpmn-interpretation/5284)._
