Added transparent magenta color detection, so every ff00ff won't be taken acconut on the average calculation