Properly determine the brightness of the colours. (This was super broken before which is why green was always really low).