It is recommended for the bathroom floor be darker than the walls so that the spaces stand out. However, the rule can be tweaked as per convenience and there can be exceptions.