Killed everyone (42 by my count) and got the blue ending. Now the grey ending is a mysteryI also tried killing everyone except the targets and got red ending
Red ending is simply failing to kill any of the targets.