ae.utils.graphics: Improve template constraints

Thanks-to: Jakob Ovrum
ae.utils.graphics.image: Add consistent support for explicit COLOR parameter