is there any way in photoshop (or any other program) to find out exactly how much of an image is cyan, how much is magneta.. etc etc

ty