Tiny SMD/SMT resistors have a tendency of being black and caps tend to be brown/yellow. That's a pretty loose tendency, though. You really need to refer to the number printed on the board, R means resistor and C means capacitor.
Here are some weird capacitors:
Here are some weird capacitors: