Last chance! 50% off unlimited learning
Sale ends in
RgbToCol(col, method = "rgb", metric = "euclidean")
RgbToLong(col)
LongToRgb(col)
"rgb"
(default) or "hsv"
."euclidean"
(default) and "manhattan"
. Euclidean distances are root sum-of-squares of
differeColToRgb
and the other conversion functionsRgbToCol(matrix(c(162,42,42), nrow=3))
RgbToLong(matrix(c(162,42,42), nrow=3))
Run the code above in your browser using DataLab