Add API to get the xo color