stressColor

fun stressColor(amount: Float): Color(source)

Returns the colour of a stress of amount: -1 or less is fully squeezed (blue), 0 at rest (grey), 1 or more fully stretched (red).