Sort "colorVector" in hexcode order.
Find the nearest color by linear-search.
"RGB.hexcode" creates an instance of "RGB" from hexcode.
Remove "trace" statement.
Rename "color" to "quantizedColor".
Fix: Convert value between hexcode and rgb.
Fix: Calculate the difference between "color" and "quantizedColor".