mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2025-08-06 23:06:49 +02:00
Changed color definition
I have changed the color definition because 255, 255, 255 was not yellow.
This commit is contained in:
@@ -363,7 +363,7 @@ background(c); // By now, the background colour should be white.
|
|||||||
fill(color(0, 0, 0));
|
fill(color(0, 0, 0));
|
||||||
// If you just want to colour the outlines of the shapes then you can use
|
// If you just want to colour the outlines of the shapes then you can use
|
||||||
// stroke() function.
|
// stroke() function.
|
||||||
stroke(255, 255, 255, 200); // stroke colour set to yellow with transparency
|
stroke(255, 255, 0, 200); // stroke colour set to yellow with transparency
|
||||||
// set to a lower value.
|
// set to a lower value.
|
||||||
|
|
||||||
// Images
|
// Images
|
||||||
|
Reference in New Issue
Block a user