Grx.color_get2
function color_get2(hcolor: Number(guint32)): Grx.Color {
// Gjs wrapper for grx_color_get2()
}
Gets a color in the color table based on hcolor.
A new color is allocated in the color table if needed.
The color should be released with Grx.color_put when it is no longer used.
- hcolor
the color in 0xRRGGBB format.
- Returns
the composite color value or #GRX_COLOR_NONE if there are no more free colors.