Builds color tables