try/catch for unparseable colours