# DPanel:GetBackgroundColor

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

```lua
Color DPanel:GetBackgroundColor()
```

## Açıklama

Panelin arka plan rengini gönderir.

> **NOT:** Varsayılan olarak bu gönderir. **hiç.** varsayılan arka plan rengi beyaz olmasına rağmen

## Geri dönüşler

1.. [Renk](https://gmod.tr/wiki/Color): Panelin arka planının rengi.

### Örnek

Öntanımlı panel arkaplan rengini yazdırıyor.

```lua
BGPanel = vgui.Create("DPanel")
BGPanel:SetPos(20, 20)
BGPanel:SetSize(200, 200)

print(BGPanel:GetBackgroundColor())
```

**Çıkış:** hiç.

- [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/DPanel:GetBackgroundColor
