# bpmn-js-in-color
**Repository Path**: mirrors_bpmn-io/bpmn-js-in-color
## Basic Information
- **Project Name**: bpmn-js-in-color
- **Description**: A simple color picker for your BPMN elements.
- **Primary Language**: Unknown
- **License**: MIT
- **Default Branch**: main
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2020-09-24
- **Last Updated**: 2025-11-16
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# bpmn-js Color Picker
[](https://github.com/bpmn-io/bpmn-js-color-picker/actions/workflows/CI.yml)
This [bpmn-js](https://github.com/bpmn-io/bpmn-js) extension adds a simple color picker to an elements context pad. Colors are serialized to BPMN 2.0 according to the [BPMN in Color proposal](https://github.com/bpmn-miwg/bpmn-in-color).

## Features
* Add color picker to the context pad
* Color single and multiple elements
* Serialize colors to BPMN 2.0
* Render colors (built-in `bpmn-js@8.7+`)
## Use Extension
Fetch `bpmn-js-color-picker` as a dependency:
```
npm install bpmn-js-color-picker --save
```
Extend your BPMN modeler with colors:
```javascript
import BpmnModeler from 'bpmn-js/lib/Modeler';
import BpmnColorPickerModule from 'bpmn-js-color-picker';
const modeler = new BpmnModeler({
additionalModules: [
BpmnColorPickerModule
]
});
```
Add diagram-js, bpmn-font and [color picker](./colors/color-picker.css) stylesheets:
```html
```
## Build Demo
To run the live demo in the [`./example` directory](./example) (as shown in the screenshot above) execute:
```
npm start
```
## Useful Resources
* [Introduction to bpmn-js](https://bpmn.io/toolkit/bpmn-js/walkthrough/)
* [Colors are here](https://bpmn.io/blog/posts/2016-colors-bpmn-js.html)