Skip to content
Prev 324417 / 398503 Next

measuring distances between colours?

Dear Eik,

Your code is better than mine. In my application, I convert at most 8
colours at a time, so I paid attention to avoiding repeatedly redefining the
local hex2decimal() function and the hsv vector, but not to the efficiency
of hex2decimal().

Thanks for this,
 John