I picked up that trick a while back from @JarrettM, and now do 95%+ of my conditional formatting that way.
An additional cool trick you can add to that is controlling the transparency of the color with two more digits added onto the end of the hex code. See this thread for example: