Support different colour modes