Skip to content

Commit c18edc1

Browse files
committed
Updated readme usage
1 parent bae768c commit c18edc1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ $hex = new Hex('#333'); // You can leave out the hashtag if you wish.
3131
echo $hex->lighten(15); // Output: #595959 (if you left out the hashtag, it would not be included in the output either)
3232

3333
// Darken
34-
$hex = new Hex('#fff');
35-
echo $hex->darken(15);
34+
$hex = new Hex('ffffff');
35+
echo $hex->darken(15); // Output: d9d9d9
3636
```
3737

3838
## Methods

0 commit comments

Comments
 (0)