Lens - If Statements with color

Not sure that exactly answers but @VinceDS wrote a great article recently: