There is a faster alternative to substr():

```c
#include "kernel/string.h"

phalcon_substr(tmp_color, color, 1, 0);
```