Add support for alpha masks, also support grays as a mix between colors