[android-components](../../index.md) / [mozilla.components.browser.icons.generator](../index.md) / [DefaultIconGenerator](index.md) / [&lt;init&gt;](./-init-.md)

# &lt;init&gt;

`DefaultIconGenerator(context: `[`Context`](https://developer.android.com/reference/android/content/Context.html)`, cornerRadius: `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)` = DEFAULT_CORNER_RADIUS, textColor: `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)` = Color.WHITE, backgroundColors: `[`IntArray`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int-array/index.html)` = DEFAULT_COLORS)`

[IconGenerator](../-icon-generator/index.md) implementation that will generate an icon with a background color, rounded corners and a letter
representing the URL.

