Count relevance of a mode upon ending instead of starting.
Include small latin letters in hexcolor in SCSS. Fixes #200.