Make action button's colour to fit it's type (input/output)