When you work with restrictions coming from lesson groups or entries into the fields 'from-to', they are going to be highlighted with a colour.