F***ING FINALLY. COLOR DETECTION WORKS