Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
breadthe committed Mar 29, 2020
1 parent 7f53385 commit a6a3fbb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a6a3fbb

Please sign in to comment.