# DTextEntry:SetTextColor

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

```lua
DTextEntry:SetTextColor( Color color )
```

## Açıklama

Metin rengini ayarlar [DTextEntry](https://gmod.tr/wiki/DTextEntry).

## Argümanlar

1.. [Renk](https://gmod.tr/wiki/Color) **Renkli**: Metin rengi. [Renk](https://gmod.tr/wiki/Color).

### Örnek

DTextEntry içindeki metin rengini kırmızıya değiştirir.

```lua
local Frame = vgui.Create("DFrame")
Frame:SetSize(200,200)
Frame:Center()
Frame:MakePopup()

local TextEntry = vgui.Create("DTextEntry", Frame)
TextEntry:SetSize(180,20)
TextEntry:SetPos(10,80)
TextEntry:SetTextColor(Color(255,20,20))
TextEntry:SetValue("Basic Text")
```

- [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/DTextEntry:SetTextColor
