Code that shows basic RGB 3 postion detection