Question
Consider the following prices on balls:
\begin{alignat}{2} &\text{Red (R):} & 15&\\ &\text{Green (B):} & 6&\\ &\text{Blue (G):} &\qquad 8& \end{alignat}
Question
Is there an "elegant" way of finding all the possible ways of bying balls for a total sum of $90$?
My own approach
By a brute force search, I have found the following possibilities, but can I somehow find this in a more "elegant" way?
\begin{alignat}{3} (0\,&\text{R},{} & 3\,&\text{G},{} &9\,&\text{B})\\ (0\,&\text{R}, & 7\,&\text{G}, &6\,&\text{B})\\ (0\,&\text{R}, &11\,&\text{G}, &3\,&\text{B})\\ (0\,&\text{R}, &15\,&\text{G}, &0\,&\text{B})\\ (2\,&\text{R}, &10\,&\text{G}, &0\,&\text{B})\\ (2\,&\text{R}, & 2\,&\text{G}, &6\,&\text{B})\\ (2\,&\text{R}, & 6\,&\text{G}, &4\,&\text{B})\\ (4\,&\text{R}, & 1\,&\text{G}, &3\,&\text{B})\\ (4\,&\text{R}, & 5\,&\text{G}, &0\,&\text{B})\\ (6\,&\text{R}, & 0\,&\text{G}, &0\,&\text{B}) \end{alignat}
Update
$(2\,\text{R},{} 6\,\text{G},{} 4\,\text{B}) \to (2\,\text{R},{} 6\,\text{G},{} 3\,\text{B})$