From a6a3fbbae7f36682c263652d615f7acc016b4ba1 Mon Sep 17 00:00:00 2001 From: breadthe Date: Sun, 29 Mar 2020 09:59:12 -0500 Subject: [PATCH] docs --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 81b3647..7ebbc46 100644 --- a/README.md +++ b/README.md @@ -70,10 +70,10 @@ $hexColorPair->bg->name; // null ```php // Minimum 3:1 contrast ratio -HexColorPair::sibling('000000'); // [21, '000000', 'ffffff'] +HexColorPair::sibling('000000')->hex; // '#ffffff' // Minimum specified contrast ratio (no less than 3:1) -HexColorPair::minContrast(4.5)->getSibling('000000'); // [21, '000000', 'ffffff'] +HexColorPair::minContrast(4.5)->getSibling('000000')->hex; // '#ffffff' ``` ## Generate a random TailwindCSS color