Updated findClosestColor