Syntax

Colour

Colour a step, an arrow, a lane, a pool, a note or a group with a color line.

Colour an element

A color: line sets an element's colour, the way doc: and note: lines set its documentation and note. Write it under the element, indented.

The value is a colour name or a hex colour. The names are red, orange, yellow, green, blue, purple, pink and grey, in any case. A hex colour is #RGB or #RRGGBB. Any other CSS colour, such as teal or rgb(0 128 128), becomes the name nearest it, so color: teal is green.

Flowmark
process Claim handling
pool Customer (below)
  color: orange
lanes Handler | Finance

lane Handler
start Claim received
user Review claim
  color: blue
xor Claim valid?
  yes -> Approve payout
  no (default) -> Send rejection notice
    color: red

lane Finance
  color: purple
service Approve payout
send Confirm payment
  => Customer: Payment confirmation
end Claim paid

lane Handler
send Send rejection notice
  => Customer: Rejection notice
end Claim declined
  color: red

The app draws a coloured element with its outline, or its line, in the colour, and a faint wash of it inside. Text and icons keep their own colour. So labels read the same in every colour, in the light and the dark theme.

What a color line colours

Write it underIt colours
A step, event or gatewayThat element. Under a boundary event's on: line, the event and the arrow leaving it.
An arrow, indented further than the arrowThat arrow.
A lane lineThe lane.
A pool lineThe outside pool. A pool with no steps of its own is washed all over.
A data or store lineThe data object or store.
A => or <= lineThat message.
A group lineThe group.
The lines of a note on its ownThe note.
  • A note on a step, arrow or lane stays part of that element, so it isn't coloured by itself.
  • Data associations and the process's own pool have no colour.
  • A colour never changes a name. A step called Review (urgent) or Check #2 keeps its name when it takes a colour.
  • An arrow that has a colour is written as an arrow line, even when it would otherwise follow from the step above.

The palette

The app offers eight colours. Write their names to get the same colour as one chosen on the canvas:

WriteColour
red#E74C3C
orange#E67E22
yellow#F1C40F
green#27AE60
blue#3498DB
purple#8E44AD
pink#E84393
grey#7F8C8D

A name means the palette's colour, not the browser's. green is #27AE60, whatever shade other tools give the word. gray works for grey.

Colours you set on the canvas or ask the assistant for are written by name. A hex that is one of these eight is written by name too, the next time the app writes the text.

Any other hex colour works as well. The app draws it as it is, and shows it as its own swatch in Colour, so looking at it doesn't lose it.

To take a colour off, delete its line, or choose None in Colour on the canvas. To colour things without writing anything, see Colour.

In BPMN

Colours go into the BPMN XML as hex, whatever name you wrote. The app writes two sets of attributes:

  • BPMN in Color attributes, color:background-color and color:border-color.
  • bioc:fill and bioc:stroke, which bpmn.io and Camunda Modeler read.

The border carries the colour and the fill a light wash of it. The namespaces are only declared when something has a colour.

When you import a .bpmn file, the app reads either set, from steps, lanes, pools, data, notes, groups and arrows. The border colour wins, then the fill.

A colour written as rgb(…) or as a CSS name is read as a hex colour. Plain black or white isn't read as a colour, since other tools write it for "no colour". The app lists anything else as left out.

On this page