Skip to content

Commit bae768c

Browse files
committed
Updated readme
1 parent 293d006 commit bae768c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ echo $hex->darken(15);
3939

4040
There are only two methods, that both accept just one parameter.
4141

42+
The constructor accepts one parameter (`hex`) which can optionally contain a hashtag (#). The length has to be between 3-6 characters (without the hashtag).
43+
4244
### `lighten($percentage)`
4345

4446
Will lighten the color by X percentage. Percentage must be between 0-100. An exception will be thrown otherwise.

0 commit comments

Comments
 (0)