Just fill the picture with colors in a way so that the same colors aren't next to each other. There are 20 levels. I finished all 20.
http://www.gimme5games.com/play-game/flood-fill
http://www.gimme5games.com/play-game/flood-fill