# palette Icon

> The palette icon from Lucide as Compose ImageVector Kotlin code, Android Vector Drawable XML and SVG.

- Library: [Lucide](https://composables.com/icons/icon-libraries/lucide.md)
- License: ISC (full text in the [Lucide library page](https://composables.com/icons/icon-libraries/lucide.md))
- Categories: [Text](https://composables.com/icons/categories/text.md), [Design](https://composables.com/icons/categories/design.md), [Photography](https://composables.com/icons/categories/photography.md)

## Compose ImageVector (Kotlin)

For Jetpack Compose and Compose Multiplatform. Download: `https://composables.com/download/icons/lucide/palette.kt`

```kotlin
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap
import androidx.compose.ui.graphics.StrokeJoin
import androidx.compose.ui.graphics.vector.ImageVector
import androidx.compose.ui.graphics.vector.path
import androidx.compose.ui.unit.dp

val LucidePalette: ImageVector
    get() {
        if (_LucidePalette != null) return _LucidePalette!!
        
        _LucidePalette = ImageVector.Builder(
            name = "palette",
            defaultWidth = 24.dp,
            defaultHeight = 24.dp,
            viewportWidth = 24f,
            viewportHeight = 24f
        ).apply {
            path(
                fill = SolidColor(Color.Transparent),
                stroke = SolidColor(Color.Black),
                strokeLineWidth = 2f,
                strokeLineCap = StrokeCap.Round,
                strokeLineJoin = StrokeJoin.Round
            ) {
                moveTo(12f, 22f)
                arcToRelative(1f, 1f, 0f, false, true, 0f, -20f)
                arcToRelative(10f, 9f, 0f, false, true, 10f, 9f)
                arcToRelative(5f, 5f, 0f, false, true, -5f, 5f)
                horizontalLineToRelative(-2.25f)
                arcToRelative(1.75f, 1.75f, 0f, false, false, -1.4f, 2.8f)
                lineToRelative(0.3f, 0.4f)
                arcToRelative(1.75f, 1.75f, 0f, false, true, -1.4f, 2.8f)
                close()
            }
            path(
                fill = SolidColor(Color.Black),
                stroke = SolidColor(Color.Black),
                strokeLineWidth = 2f,
                strokeLineCap = StrokeCap.Round,
                strokeLineJoin = StrokeJoin.Round
            ) {
                moveTo(14f, 6.5f)
                arcTo(0.5f, 0.5f, 0f, false, true, 13.5f, 7f)
                arcTo(0.5f, 0.5f, 0f, false, true, 13f, 6.5f)
                arcTo(0.5f, 0.5f, 0f, false, true, 14f, 6.5f)
                close()
            }
            path(
                fill = SolidColor(Color.Black),
                stroke = SolidColor(Color.Black),
                strokeLineWidth = 2f,
                strokeLineCap = StrokeCap.Round,
                strokeLineJoin = StrokeJoin.Round
            ) {
                moveTo(18f, 10.5f)
                arcTo(0.5f, 0.5f, 0f, false, true, 17.5f, 11f)
                arcTo(0.5f, 0.5f, 0f, false, true, 17f, 10.5f)
                arcTo(0.5f, 0.5f, 0f, false, true, 18f, 10.5f)
                close()
            }
            path(
                fill = SolidColor(Color.Black),
                stroke = SolidColor(Color.Black),
                strokeLineWidth = 2f,
                strokeLineCap = StrokeCap.Round,
                strokeLineJoin = StrokeJoin.Round
            ) {
                moveTo(7f, 12.5f)
                arcTo(0.5f, 0.5f, 0f, false, true, 6.5f, 13f)
                arcTo(0.5f, 0.5f, 0f, false, true, 6f, 12.5f)
                arcTo(0.5f, 0.5f, 0f, false, true, 7f, 12.5f)
                close()
            }
            path(
                fill = SolidColor(Color.Black),
                stroke = SolidColor(Color.Black),
                strokeLineWidth = 2f,
                strokeLineCap = StrokeCap.Round,
                strokeLineJoin = StrokeJoin.Round
            ) {
                moveTo(9f, 7.5f)
                arcTo(0.5f, 0.5f, 0f, false, true, 8.5f, 8f)
                arcTo(0.5f, 0.5f, 0f, false, true, 8f, 7.5f)
                arcTo(0.5f, 0.5f, 0f, false, true, 9f, 7.5f)
                close()
            }
        }.build()
        
        return _LucidePalette!!
    }

private var _LucidePalette: ImageVector? = null
```

## Android Vector Drawable (XML)

Download: `https://composables.com/download/icons/lucide/palette.xml`

```xml
<vector xmlns:android="http://schemas.android.com/apk/res/android"
    android:width="24dp"
    android:height="24dp"
    android:viewportWidth="24"
    android:viewportHeight="24">
    <path
        android:strokeColor="@android:color/black"
        android:strokeLineCap="round"
        android:strokeLineJoin="round"
        android:strokeWidth="2"
        android:pathData="M12,22a1,1 0 0,1 0,-20a10,9 0 0,1 10,9a5,5 0 0,1 -5,5h-2.25a1.75,1.75 0 0,0 -1.4,2.8l0.3,0.4a1.75,1.75 0 0,1 -1.4,2.8Z" />
    <path
        android:fillColor="@android:color/black"
        android:strokeColor="@android:color/black"
        android:strokeLineCap="round"
        android:strokeLineJoin="round"
        android:strokeWidth="2"
        android:pathData="M14,6.5A0.5,0.5 0 0,1 13.5,7A0.5,0.5 0 0,1 13,6.5A0.5,0.5 0 0,1 14,6.5Z" />
    <path
        android:fillColor="@android:color/black"
        android:strokeColor="@android:color/black"
        android:strokeLineCap="round"
        android:strokeLineJoin="round"
        android:strokeWidth="2"
        android:pathData="M18,10.5A0.5,0.5 0 0,1 17.5,11A0.5,0.5 0 0,1 17,10.5A0.5,0.5 0 0,1 18,10.5Z" />
    <path
        android:fillColor="@android:color/black"
        android:strokeColor="@android:color/black"
        android:strokeLineCap="round"
        android:strokeLineJoin="round"
        android:strokeWidth="2"
        android:pathData="M7,12.5A0.5,0.5 0 0,1 6.5,13A0.5,0.5 0 0,1 6,12.5A0.5,0.5 0 0,1 7,12.5Z" />
    <path
        android:fillColor="@android:color/black"
        android:strokeColor="@android:color/black"
        android:strokeLineCap="round"
        android:strokeLineJoin="round"
        android:strokeWidth="2"
        android:pathData="M9,7.5A0.5,0.5 0 0,1 8.5,8A0.5,0.5 0 0,1 8,7.5A0.5,0.5 0 0,1 9,7.5Z" />
</vector>
```

## SVG

Download: `https://composables.com/download/icons/lucide/palette.svg`

```svg
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" ><path d="M12 22a1 1 0 0 1 0-20 10 9 0 0 1 10 9 5 5 0 0 1-5 5h-2.25a1.75 1.75 0 0 0-1.4 2.8l.3.4a1.75 1.75 0 0 1-1.4 2.8z" /><circle cx="13.5" cy="6.5" r=".5" fill="currentColor" /><circle cx="17.5" cy="10.5" r=".5" fill="currentColor" /><circle cx="6.5" cy="12.5" r=".5" fill="currentColor" /><circle cx="8.5" cy="7.5" r=".5" fill="currentColor" /></svg>
```
