# danog\MadelineProto\EventHandler\Topic\IconColor: Specifies the color of the fallback topic icon (RGB) if no custom emoji icon is specified.

[Back to index](../../../../index.html)

> Author: Daniil Gentili <daniil@daniil.it>  
  

Specifies the color of the fallback topic icon (RGB) if no custom emoji icon is specified.  




## Constants
* `danog\MadelineProto\EventHandler\Topic\IconColor::NONE`: 

* `danog\MadelineProto\EventHandler\Topic\IconColor::BLUE`: 

* `danog\MadelineProto\EventHandler\Topic\IconColor::YELLOW`: 

* `danog\MadelineProto\EventHandler\Topic\IconColor::PURPLE`: 

* `danog\MadelineProto\EventHandler\Topic\IconColor::GREEN`: 

* `danog\MadelineProto\EventHandler\Topic\IconColor::PINK`: 

* `danog\MadelineProto\EventHandler\Topic\IconColor::RED`: 

## Properties
* `$name`: `string` 
* `$value`: `int` 

## Method list:
* [`cases(): array`](#cases)
* [`from(string|int $value): static`](#from)
* [`tryFrom(string|int $value): ?static`](#tryFrom)

## Methods:
### <a name="cases"></a> `cases(): array`





### <a name="from"></a> `from(string|int $value): static`




Parameters:

* `$value`: `string|int`   



### <a name="tryFrom"></a> `tryFrom(string|int $value): ?static`




Parameters:

* `$value`: `string|int`   



---
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
