Skip to content

gbcPalette

gbcPalette(inputColor): Node<"vec4">

Defined in: packages/nodes/src/retro/consolePalettes.ts:170

Game Boy Color palette simulation. 15-bit color (5 bits per channel) with GBC’s characteristic color response.

Parameters

inputColor

Node<"vec4">

Input color

Returns

Node<"vec4">

Color quantized to GBC palette