# DoesSourceTextureHaveColor()

> Does textures source image have RGB channels.

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor](/engine/6000.7/script-reference/unityeditor.md)
* **Assembly:** UnityEditor.CoreModule

> **Warning:**
>
> **Deprecated.** DoesSourceTextureHaveColor always returns true in Unity.

```csharp
public bool DoesSourceTextureHaveColor()
```

### Returns

| Type                                                          | Description |
| ------------------------------------------------------------- | ----------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) |             |
