Making badge issuer colour creation less fragile