Add filtering on color and magnitude