Skip to content

Commit d98c767

Browse files
committed
Added links to color contrast docs
1 parent 1c5e4c4 commit d98c767

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/color/p5.Color.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -344,9 +344,9 @@ class Color {
344344
* more details is returned. The details object will include the calculated
345345
* contrast value of the colors and different passing criteria.
346346
*
347-
* For more details about color contrast, you can checkout this page from
348-
* color.js. The WebAIM color contrast checker is a good tool to check out as
349-
* well.
347+
* For more details about color contrast, you can check out
348+
* <a href="https://colorjs.io/docs/contrast">this page from color.js</a>, and the
349+
* <a href="https://webaim.org/resources/contrastchecker/">WebAIM color contrast checker.</a>
350350
*
351351
* @param {Color} other
352352
* @returns {boolean|object}

0 commit comments

Comments
 (0)