Add support for greyscale and cmyk colors