title: Detect Color Code of live android camera preview
body: <p>I would like to detect colorcode of image (live stream image) while camera preview is going on. I want to develop sample android application which works like <a href="https://play.google.com/store/apps/details?id=com.loomatix.colorgrab&amp;hl=en" rel="noreferrer">ColorGrab</a> android application. Please find attached screenshot for the same.</p>
  
  <p>How can I make demo program application which capture and recognize colors simply by pointing the camera and show as hexcode of that color.</p>
  
  <p>Any help would be appreciated. Thanks for your time. </p>
  
  <p><img src="https://i.stack.imgur.com/yJ1pX.png" alt="enter image description here"></p>