summaryrefslogtreecommitdiffhomepage
path: root/processing.html.markdown
diff options
context:
space:
mode:
authorcaminsha <c.96marco@hotmail.com>2020-03-01 22:43:30 +0100
committercaminsha <c.96marco@hotmail.com>2020-03-01 22:43:30 +0100
commit48c193853c0a996d81d72c7bd861d6cdbfbc4103 (patch)
tree04421733cb13099ceed11ca165712ae4a4d9dc82 /processing.html.markdown
parentd7de2446b770382689495406a4e725810a052e2f (diff)
Changed color value in background function
Changed it because we defined the color white as c before.
Diffstat (limited to 'processing.html.markdown')
-rw-r--r--processing.html.markdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/processing.html.markdown b/processing.html.markdown
index d7b0d600..dbf078a2 100644
--- a/processing.html.markdown
+++ b/processing.html.markdown
@@ -356,7 +356,7 @@ color c = color(255, 255, 255); // WHITE!
// By default, Processing uses RGB colour scheme but it can be configured to
// HSB using colorMode(). Read more here:
// (https://processing.org/reference/colorMode_.html)
-background(color); // By now, the background colour should be white.
+background(c); // By now, the background colour should be white.
// You can use fill() function to select the colour for filling the shapes.
// It has to be configured before you start drawing shapes so the colours gets
// applied.