Better color testing to handle Color objects nicely (for white/black navbar)