Yes, black will be hotter. However, except for reflective coated shingles (some Energy Star rated shingles, for instance) or white or bare metal, there is only about a 10-15% difference in the amount of energy absorbed between black and say a tan or beige, and only a few percent between black and a gray, red, dark blue, green, or brown. The difference in your attic temperature is likely to be on the order of 10-20 degrees F - maybe noticeable, but not a dramatic increase.
Even a reflective coated shingle does not make that much diffference unless it is metallic surfaced - which of course the neighbors would LOVE !
The best thing you can do about heat from the shingles is attic ventilation - full eave access for airflow, and full-length ridge vent, and if in a very sun-exposed hot area, perhaps a thermostat-controlled attic ventilation fan.