Detect three colors! With coordinates returned! Saving templates implemented