1) The document describes a project to develop an algorithm using Euclidean clustering to give a robot color constancy and the ability to determine colors on a Rubik's cube under different lighting conditions. 2) The algorithm clusters similar pixel colors and averages the colors in each cluster. It was tested on images of a Rubik's cube taken at different times of day and lighting levels. 3) The clustering worked well except in low light where it grouped dark colors with the background, preventing the squares from being tracked. Improving the algorithm with multi-scale retinex was proposed to solve this issue.