Google

/*
 * Get the green element of a RgbaColor object.
 *
 * Examples:
 *   amount = color.green
 *   amount = color.g
 */
static VALUE rgba_color_green(VALUE self) {