Adding pixel and color check