fill()
Changes color of shape interiors
Last updated
Changes color of shape interiors
Last updated
Changes the color of the interior of all following shapes, until another fill() is called. Shapes have borders and interiors - changes the border, while fill() changes the interior. Input can either be the name of an HTML color, a value 0 - 255 for greyscale values with 0 being black and 255 being white. Input can also be three numbers for the RGB or HSB color scale - see .
Find these documents helpful? Let the people who made them help your child learn to code at !
We'd love to hear your Feedback/Comments .