# Colored Models

{% hint style="info" %}
**Why?**

To make a colored element or a colored vehicle you don't have to make a separate model for each item with a different color.

For example a custom colored furniture.
{% endhint %}

## How can I do this?

### 1. open your model with Blockbench

![](https://708574821-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M28TcKgSDvuFN510qye-887967055%2Fuploads%2Fgit-blob-4b4ba4b7575ece5a00ed4c7657b4e77c4dae0fcc%2Fimmagine.png?alt=media)

### 2. select the face you want to be colored

![](https://708574821-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M28TcKgSDvuFN510qye-887967055%2Fuploads%2Fgit-blob-4aeaa295b03ae18fe55509315ad2694164983244%2Fimmagine.png?alt=media)

### 3. use a white/gray texture, for better coloring

### 4. enable the hidden "Tint" feature

![](https://708574821-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M28TcKgSDvuFN510qye-887967055%2Fuploads%2Fgit-blob-65cb20cd7f55963108760a9a9f9faaf6f59afab4%2Fimmagine.png?alt=media)

![](https://708574821-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M28TcKgSDvuFN510qye-887967055%2Fuploads%2Fgit-blob-3c95096ea2c3e46322e78e22cbfd6ddb48af84f3%2Fimmagine.png?alt=media)

### 5. enable the coloring for each face you want to be colored

![](https://708574821-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M28TcKgSDvuFN510qye-887967055%2Fuploads%2Fgit-blob-8470f6493af807ae3db7e2ee32d4a5e1d8e037c5%2Fimmagine.png?alt=media)

### 6. set the specific color attribute in your .yml file.

<details>

<summary>Click here to read the old way</summary>

In this example I used `leather_horse_armor` but you can also use `potion`.

```yaml
  orange_modern_lamp:
    display_name: "Orange Modern Lamp"
    specific_properties:
      leather_horse_armor:
        color: ORANGE
    resource:
      material: LEATHER_HORSE_ARMOR
      generate: false
      model_path: item/template_modern_lamp
```

**Getting colors**

* **Decimal** colors using [this tool](https://www.mathsisfun.com/hexadecimal-decimal-colors.html)
* Colors from this list
  * `WHITE`
  * `SILVER`
  * `GRAY`
  * `BLACK`
  * `RED`
  * `MAROON`
  * `YELLOW`
  * `OLIVE`
  * `LIME`
  * `GREEN`
  * `AQUA`
  * `TEAL`
  * `BLUE`
  * `NAVY`
  * `FUCHSIA`
  * `PURPLE`
  * `ORANGE`

</details>

<details>

<summary>Click here to read the modern way (1.21.4+)</summary>

{% hint style="warning" %}
This requires ItemsAdder 4.0.13 and Minecraft 1.21.4+ (both client and server).
{% endhint %}

```yaml
  orange_modern_lamp:
    name: Orange Modern Lamp
    graphics:
      color: ORANGE
      model: item/template_modern_lamp
```

Read more on the [modern coloring tutorial](https://itemsadder.devs.beer/adding-content/colored-items).

</details>

### 7. now you can create as many as models you want, just change the color and it will be automatically colored by the game

![](https://708574821-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M28TcKgSDvuFN510qye-887967055%2Fuploads%2Fgit-blob-8e85df9e50497536538789566e30a41791d55d60%2Fimmagine.png?alt=media)
