Also take Color objects into account.