Grx.color_info_n_colors

function color_info_n_colors(): Number(gint) {
    // Gjs wrapper for grx_color_info_n_colors()
}
  

Gets the number of colors supported by the current graphics mode.

Returns

the number of colors.