EVM is calculated by comparing the length of the red error vector either to the length of the green vector (in the case of a peak or maximum power normalization) or to the length of blue vector (for RMS power normalization).