Color variables

color primary = #ff0000;

void setup() {
  rectMode(CENTER);
  size(800, 600);
  noStroke();
  fill(primary);
}

void draw() {
  background(#f1f1f1);
  rect(mouseX, mouseY, 70, 70);
}