To find the probability of selecting a student with blue eyes, we first need to determine the total number of students surveyed.
The total number of students can be calculated by summing the number of students for each eye color:
\[ \text{Total} = 20 \text{ (blue)} + 12 \text{ (brown)} + 10 \text{ (green)} + 8 \text{ (amber)} + 6 \text{ (hazel)} + 4 \text{ (gray)} \] \[ \text{Total} = 20 + 12 + 10 + 8 + 6 + 4 = 70 \]
Now that we know the total number of students is 70, we can calculate the probability of selecting a student with blue eyes. The number of students with blue eyes is 20.
The probability \( P \) of selecting a student with blue eyes is given by the ratio of the number of students with blue eyes to the total number of students:
\[ P(\text{blue eyes}) = \frac{\text{Number of students with blue eyes}}{\text{Total number of students}} = \frac{20}{70} \]
Now we can simplify this fraction. The greatest common divisor (GCD) of 20 and 70 is 10. Therefore, we can simplify:
\[ \frac{20 \div 10}{70 \div 10} = \frac{2}{7} \]
Thus, the probability of selecting a student with blue eyes is:
\[ \boxed{\frac{2}{7}} \]