We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a8bfec6 commit d3e898cCopy full SHA for d3e898c
src/color/p5.Color.js
@@ -549,7 +549,7 @@ class Color {
549
/**
550
* This function extracts the green value from a color object, returns green
551
* 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
+ * RBG value, the green value within the givin range is returned.
553
*/
554
_getGreen(max=[0, 1]) {
555
if(!Array.isArray(max)){
0 commit comments