Black, brown, then the fucking colors of the rainbow in order, gray, white.
If you need a mnemonic to memorize that, you're gonna have some trouble actually building out your lookup table in your head of immediately knowing that red=2, yellow=4, etc.