Maybe you could make a table that the conditional formatting refers to, which would provide the colors you want if the condition is met.