# DImageButton:SetColor

- **Ortam:** İstemci, Menü
- **İngilizce aslı:** https://wiki.facepunch.com/gmod/DImageButton:SetColor
- **Çeviri tarihi:** 2026-05-13

```lua
DImageButton:SetColor( Color color )
```

## Açıklama

Resmin rengini ayarlar. [DImage:SetImageColor](https://gmod.tr/wiki/DImage:SetImageColor)

## Argümanlar

1.. [Renk](https://gmod.tr/wiki/Color) **Renkli**: [Renk](https://gmod.tr/wiki/Color) ayarlamak için

### Örnek

Görüntüyü maviye değiştiriyor:

```lua
-- Örneğin Engineer ( mavi için)
local engineerClass = vgui.Create("DImageButton", container)
engineerClass:SetColor(Color(22, 166, 236, 255))
-- ...
```

**Çıkış:** ![](https://gmod.tr/api/uploads/wiki/1157504ce814ae5a8136.png) ![](https://gmod.tr/api/uploads/wiki/f74cbc10d711552cccf6.png)

- [GMod Wiki ana sayfası](https://gmod.tr/wiki)

---

[Tüm sunucular](https://gmod.tr/) · [GmodTR Launcher](https://gmod.tr/launcher) · [Rehber](https://gmod.tr/rehber) · [GMod Wiki](https://gmod.tr/wiki) · [GmodTR nedir?](https://gmod.tr/hakkinda) · [Sunucu ekle](https://gmod.tr/sunucu-ekle) · [Discord](https://discord.gg/gmodtr)

Kaynak: https://gmod.tr/wiki/DImageButton:SetColor
