Skip to content

Commit f9ccd38

Browse files
committed
Documentation: gray argument in color() must be numeric, fixes #1869
1 parent 6919c0e commit f9ccd38

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/color/creating_reading.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ p5.prototype.brightness = function(c) {
137137
* Colors are stored as Numbers or Arrays.
138138
*
139139
* @method color
140-
* @param {Number|String} gray number specifying value between white
140+
* @param {Number} gray number specifying value between white
141141
* and black.
142142
* @param {Number} [alpha] alpha value relative to current color range
143143
* (default is 0-255)

0 commit comments

Comments
 (0)