Skip to content

Commit 42d2b3b

Browse files
authored
Merge pull request jdf#182 from tabreturn/master
Correct opacity value (50 instead of 55%)
2 parents 565abff + 56be598 commit 42d2b3b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎Tutorials/color/index.html‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ <h3>Grayscale Color</h3>In the digital world, when we want to
6969
<pre>
7070
background(255) # Setting the background to white
7171
stroke(0) # Setting the outline (stroke) to black
72-
fill(150) # Setting the interior of a shape (fill) to grey
72+
fill(150) # Setting the interior of a shape (fill) to grey
7373
rect(50,50,75,100) # Drawing the rectangle
7474
</pre><br>
7575
<br>
@@ -193,7 +193,7 @@ <h3>Color Transparency</h3>
193193
<span style="color: #006699;">fill</span>(255, 0, 0, 191)
194194
<span style="color: #006699;">rect</span>(0, 50, 200, 40)
195195

196-
<span style="color: #666666;"># 55% opacity.</span>
196+
<span style="color: #666666;"># 50% opacity.</span>
197197
<span style="color: #006699;">fill</span>(255, 0, 0, 127)
198198
<span style="color: #006699;">rect</span>(0, 100, 200, 40)
199199

0 commit comments

Comments
 (0)