# ColorToHSV

- **Ortam:** İstemci, Sunucu, Menü
- **İngilizce aslı:** https://wiki.facepunch.com/gmod/Global.ColorToHSV
- **Çeviri tarihi:** 2026-05-14

```lua
number, number, number ColorToHSV( Color color )
```

## Açıklama

Dönüştürür [Renk](https://gmod.tr/wiki/Color) HSV renk alanına.

## Argümanlar

1.. [Renk](https://gmod.tr/wiki/Color) **renkleri**: Yönetim [Renk](https://gmod.tr/wiki/Color).

## Geri dönüşler

1.. [numara](https://gmod.tr/wiki/number): Renk derecelerle. `[0, 360]`.
2.. [numara](https://gmod.tr/wiki/number): Aralıkta doymak `[0, 1]`.
3.. [numara](https://gmod.tr/wiki/number): Aralıktaki değer `[0, 1]`.

### Örnek

Bir renk oluşturur ve HSV değerlerini konsolle yazdırır.

```lua
print( ColorToHSV( Color( 255, 255, 0 ) ) )
```

**Çıkış:**

```lua
60 1 1
```

- [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/Global.ColorToHSV
