Implemented the functionality that allows to specify only the color of the primitive because all its points have the same color