To win at Color Junction, your goal is simple: clear all the blocks and reduce the number remaining to zero.
Work strategically to eliminate every block on the board, and once you've cleared them all, you'll have beaten the level.