display – Configure macOS to get a limited RGB color (16 to 235)

My projector only supports limited RGB colors. This means that all color values ​​must be between 16 and 235.

macOS High Sierra seems to emit a full RGB color (0 to 255) on my projector. It means the darkest blacks (<16) and highest whites (>235) to be crushed.

How to make sure that the macOS output of the RGB color is limited instead of being complete?