Magic spheres. It had a screen of marble images and you had to match two at a time. . I think it came with a Windows program.
It could be that you are referring to the Magic Spheres 1.0, where you aim at shooting colorful balls and blow up matching colors. You can download the game from http://magic-spheres.soft32.com/screenshots.