Text this: The quantum anomalous Hall effect in two-dimensional hexagonal monolayers studied by first-principles calculations