Grx.color_info_n_free_colors

function color_info_n_free_colors(): Number(gint) {
    // Gjs wrapper for grx_color_info_n_free_colors()
}
  

Gets the number of unallocated colors remaining for the current graphics mode.

For RGB graphics modes, this will always return 0.

Returns

the number of unallocated colors.