# DLabel:SetTextColor

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

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

## Açıklama

Metin rengini ayarlar [DLabel](https://gmod.tr/wiki/DLabel)Bu öncelik sahibi olacak. [DLabel:SetTextStyleColor](https://gmod.tr/wiki/DLabel:SetTextStyleColor).

## Argümanlar

1.. [Renk](https://gmod.tr/wiki/Color) **Renkli**: Metin rengini kullanır. [Renk](https://gmod.tr/wiki/Color).

### Örnek

Metin rengini kırmızıya değiştiriyor.

```lua
local frame = vgui.Create( "DFrame" )
frame:SetTitle( "Text Color Example" )
frame:SetSize( 300, 100 )
frame:Center()
frame:MakePopup()

local frame_label = vgui.Create( "DLabel", frame )
frame_label:SetPos( 10, 30 )
frame_label:SetTextColor( Color( 255, 0, 0) )
```

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