code: func SetOutputMode(mode OutputMode) OutputMode {
  	if screen.Colors() < 256 {
  		mode = OutputNormal
  	}
  	switch mode {
  	case OutputCurrent:
  		return outMode
  	case OutputNormal, Output256, Output216, OutputGrayscale:
  		outMode = mode
  		return mode
  	default:
  		return outMode
  	}
  }
docs: // SetOutputMode is used to set the color palette used.