Skip to content

Commit d3e898c

Browse files
Update src/color/p5.Color.js
Co-authored-by: Perminder Singh <[email protected]>
1 parent a8bfec6 commit d3e898c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/color/p5.Color.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -549,7 +549,7 @@ class Color {
549549
/**
550550
* This function extracts the green value from a color object, returns green
551551
* value in the range of 0 to 255 by default. When colorMode() is set to an
552-
* RBG value, the green value within the givin range is returned
552+
* RBG value, the green value within the givin range is returned.
553553
*/
554554
_getGreen(max=[0, 1]) {
555555
if(!Array.isArray(max)){

0 commit comments

Comments
 (0)