\( \definecolor{colordef}{RGB}{249,49,84} \definecolor{colorprop}{RGB}{18,102,241} \)
Consider a family with three children, assuming each child is equally likely to be a boy or a girl and the genders are independent. Let event \(A\) be the event of having only boys, and let event \(B\) be the event of having only girls. Find \(A \text{ and } B\).