How are colours displayed in Tapaas?

Currently, most dashboards in Tapaas use a continuous colouring scheme based on DayPnL.

The scheme finds the minimum and maximum PnL, assigns pure green colour to values that are close to the maximum PnL and pure red colour to the rows that are close to the minimum PnL.

Values in between are gradually changed from green to red, with black being the colour assigned to central values.