Hi, Its a simple process, follow below steps:
1. First create a parameter.

2. Then Create a calculated field, to highlight the parameter when condition meets.

3. Add the created field into color shelf.

4. Highlighting for parameter can only show binary colors (i.e 2 colors)
Hope this helps you.