From b0bde62d91e9db0e2371bc450f44520095fef7fb Mon Sep 17 00:00:00 2001 From: iBobo Date: Mon, 17 Aug 2015 12:36:21 +0200 Subject: [PATCH] Fixed getColor description in README The README erroneously stated that getColor would return a js object with 'r', 'g' and 'b' members, instead it returns an array just like getPalette. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f1c81ff..a119bba 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ colorThief.getColor(sourceImage); ```js getColor(sourceImage[, quality]) -returns {r: num, g: num, b: num} +returns [num, num, num] ``` ###Build a color palette from an image