GhosttyTerminalColor.rgb constructor

const GhosttyTerminalColor.rgb(
  1. int red,
  2. int green,
  3. int blue
)

Implementation

const GhosttyTerminalColor.rgb(int red, int green, int blue)
  : paletteIndex = null,
    rgb = (red << 16) | (green << 8) | blue;