The HP LaserJet 1018 uses the HP 12A black toner cartridge, part number Q2612A. There are no separate color supplies to identify before ordering.
Toner Buzz offers genuine HP 12A as an individual cartridge and as a two-pack. A single is enough for one toner change; the two-pack gives you an extra cartridge for later without switching part numbers.