Skip to content

Commit

Permalink
Merge b678210 into 1d2d736
Browse files Browse the repository at this point in the history
  • Loading branch information
yakatz committed Sep 16, 2020
2 parents 1d2d736 + b678210 commit c99cb86
Show file tree
Hide file tree
Showing 3 changed files with 872 additions and 721 deletions.
6 changes: 6 additions & 0 deletions README.md
Expand Up @@ -111,6 +111,12 @@ $image = $avatar->background('#ff0000')->generate();
$image = $avatar->color('#ff0000')->generate();
````

### Auto Color
````php
// Will choose a background color based on `name` and a contrasting font color. The color for a specific name will always be the same.
$image = $avatar->autoColor()->generate();
````

### Font file - default: /fonts/OpenSans-Regular.ttf
Two fonts with two variants are included:
* /fonts/OpenSans-Regular.ttf
Expand Down

0 comments on commit c99cb86

Please sign in to comment.