It doesn't use RGB codes at all, it's just tracking the positions of the three sliders. Only the first slider determines color, the other two determine how light or dark the tone is.
Huh. Yeah, the dress and shoes have common colors and the socks and gloves have common colors but they don't cross. Entering the same code into different slots will get you different results based on the slot.