Quadrille.lightSquare

The color of the light squares of the default chessboard — the one createQuadrille() builds with no arguments, and the one fill() paints with no arguments. Any CSS string or value color() accepts.

Example

edit, then run

Note

The other half of the board is Quadrille.darkSquare. Set both at startup, before any quadrille is created: the colors are read at construction, not at draw time.

What this page's examples use
p5.quadrille
drawQuadrille createQuadrille cellLength lightSquare
p5.js
createCanvas

Names the analysis can prove are called, and the line each one is documented on. Local variables and members of an unknown receiver are left out.