File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -548,8 +548,8 @@ class Color {
548
548
549
549
/**
550
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.
551
+ * value in the range of 0 to 255 by default. When colorMode() is given to an
552
+ * RBG value, the green value within the givin range is returned
553
553
*/
554
554
_getGreen ( max = [ 0 , 1 ] ) {
555
555
if ( ! Array . isArray ( max ) ) {
@@ -632,10 +632,10 @@ class Color {
632
632
}
633
633
/**
634
634
* Brightness obtains the HSB brightness value from either a p5.Color object,
635
- * an array of color components, or a CSS color string. Depending on value,
636
- * when colorMode() is set a HSB value, this function will returns the
637
- * brightness value within the current range. By default, this function will return
638
- * the HSB brightness within the range 0– 100.
635
+ * an array of color components, or a CSS color string.Depending on value,
636
+ * when colorMode() is set a HSB value, this function will return the
637
+ * brightness value in the range. By default, this function will return
638
+ * the HSB brightness within the range 0 - 100.
639
639
*/
640
640
641
641
_getBrightness ( max = [ 0 , 100 ] ) {
You can’t perform that action at this time.
0 commit comments