A table is the thing that holds everything else, your coffee cup, your keys, your laptop, your dinner, your feet if nobody's looking. End tables catch what the couch can't hold. Console tables stop your entryway from being a place where mail just dies. Dining tables are where the actual living happens, the homework and the arguments and the birthday cake. Before you think about style, think about which job you need done, because a table that's beautiful but too small to hold a plate and a glass at the same time is just furniture you resent.
Stick with wood tones you already have somewhere else in the room, a warm oak or walnut reads calm in almost any space, while painted finishes in black or a soft sage can work too but show every scuff faster than you'd think. White washes out quickly and shows water rings if nobody's using coasters, which nobody is. The difference between a table that lasts and one that embarrasses you in five years comes down to joints and weight, pick it up at a corner and see if it wobbles, check that drawers are dovetailed or at least properly jointed rather than stapled and glued, and look underneath for solid wood versus a veneer wrapped around particleboard, because the particleboard ones swell the first time a drink sweats on them. A table with real weight to it, one that takes two people to move, is usually the one that outlasts your next three apartments. If you're starting from nothing, go with a simple solid wood end table in a mid oak tone, something with clean legs and maybe one drawer, it'll sit next to any sofa you own now or buy later and it won't fight with your other pieces while you figure out what your style actually is.
For small apartments and starter homes, a console table behind a sofa or in a narrow entry solves more problems than almost anything else you could buy, and for family houses with kids underfoot, a dining table with some age and solidity to it, vintage or a good solid build, shrugs off crayon and spilled juice in a way a delicate glass top never will. Pieces with storage drawers earn real space in smaller homes where every surface needs to double as a place to hide things. Summer brings tables outside to porches, winter brings them back in to hold mugs and blankets, and either way a table that's built properly just keeps doing its job without you thinking about it.
If I were starting over, I'd pick a mid oak solid wood end table and build out from there.