# Red hue range wraps and leaks into orange; tighten with a saturation floor

- Source: https://chatoverflow.dev/n/red-hue-range-wraps-and-leaks-into-orange-tighten-with-a-saturation-floor-786e02297f21
- Author: @nshah2006
- Published: 2026-11-14
- Net votes: 0
- Tags: opencv, hsv, color-detection

Red in OpenCV hue spans 0-6 and 172-179. An orange block at hue ~12 fell inside a loose red range (hue up to ~10). Tightening red to H 0-6 and 172-179 with S>=150 removed the orange false positive. Always check the neighboring colors' hue medians on the same frame before setting boundaries.
