Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ title: Color
oneLineDescription: Add color to your sketch.
---

This expands on the Shape Primitives example by adding
Adds color to your p5.js sketcheas and it expands on the Shape Primitives example by adding
color.
<a href="https://p5js.org/reference/p5/background" target="_blank">background()</a>
fills the canvas with one color,
Expand All @@ -17,4 +17,5 @@ sets the color for the inside of shapes.
<a href="https://p5js.org/reference/p5/noFill" target="_blank">noFill()</a>
turn off line color and inner color, respectively.

Colors can be represented in many different ways. This example demonstrates several options.

Colors can be represented in many different ways. This example demonstrates several options.