HSV value for black

Damon picture Damon · Oct 2, 2013 · Viewed 15.9k times · Source

I'm writing a C++ code which can identify color black. I want to use HSV color space, but I cannot find the value range for black. Can anybody provide me the value range for color black in HSV color space?

Answer

Tomas Camin picture Tomas Camin · Oct 2, 2013

In the HSV color space black color is represented by any point (H,S,V) having V = 0. To visualise this see the cylindrical 3D models in the HSV wiki which make it very easy to understand.