This fixes incorrect color table lookup where red and blue channels were flipped.
(cherry picked from commit d0f0f1f1cb)
This fixes incorrect color table lookup where red and blue channels were flipped.
(cherry picked from commit d0f0f1f1cb)