There are 20 balls in the bag altogether.
If 12 of them are not blue, that means that 8 of them are blue. We can find out what percent of the blue balls are in the bag by turning it into a fraction.
The fraction 
 represents the 8 blue balls out of the 20 balls altogether.
 represents the 8 blue balls out of the 20 balls altogether.
Now that we have our fraction, we can change it into a percent. The fraction 
 can be reduced to
 can be reduced to 
 by dividing both the numerator and denominator by the greatest common factor.
 by dividing both the numerator and denominator by the greatest common factor.
2 ÷ 5 = 0.4
0.4 x 100 = 40%
40% of the balls in the bag are blue.