green() Color Creating & Reading Web & Application green_.gif noStroke(); color c = color(0, 126, 255); fill(c); rect(15, 20, 35, 60); float value = green(c); // Sets "value" to "126" fill(value); rect(50, 20, 35, 60); Extracts the green value from a color. green(color) any value of the color datatype float red() blue() hue() saturation() brightness() 1.0 Function Core