Google

/*
 * Get the red element of a RgbaColor object.
 *
 * Examples:
 *   amount = color.red
 *   amount = color.r
 */
static VALUE rgba_color_red(VALUE self) {