I'm trying to fill the window with this background and I'm getting an 'invalid color argument' error. This confuses me because there isn't anything stating a color value (besides the picture, but I've changed that three times, so I don't believe that is the issue).
Code:
win.fill(pygame.image.load('Background/Yellow.png').convert())
if walkCount + 1 >= 27:
walkCount = 0
if left:
win.blit(walkLeft[walkCount//3], (x,y))
walkCount += 1
elif right:
win.blit(walkRight[walkCount//3], (x,y))
walkCount += 1
elif idle:
win.blit(char1, (x, y))
walkCount = 0
pygame.display.update()