In what context do you want to use the numbers?
This does work in many situations. Observe that the color of the number and the circle are chosen automatically.
\documentclass{memoir}
\usepackage{tikz}
\newcommand{\ballnumber}[1]{\tikz[baseline=(myanchor.base)] \node[circle,fill=.,inner sep=1pt] (myanchor) {\color{-.}\bfseries\footnotesize #1};}
\begin{document}
Earum excepturi inventore necessitatibus aliquid reiciendis enim. \ballnumber{37} Earum excepturi inventore necessitatibus aliquid reiciendis enim.
\end{document}
Edit:The question Good way to make \textcircled numbers? is related.
The package https://ctan.org/pkg/circledtext is an alternative.