We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 03277c8 commit 5da3093Copy full SHA for 5da3093
README.md
@@ -111,6 +111,12 @@ $image = $avatar->background('#ff0000')->generate();
111
$image = $avatar->color('#ff0000')->generate();
112
````
113
114
+### Auto Color
115
+````php
116
+// Will choose a background color based on `name` and a contrasting font color. The color for a specific name will always be the same.
117
+$image = $avatar->autoColor()->generate();
118
+````
119
+
120
### Font file - default: /fonts/OpenSans-Regular.ttf
121
Two fonts with two variants are included:
122
* /fonts/OpenSans-Regular.ttf
0 commit comments