It decodes it from binary code to a certain order of single to combining the next/previous color LED. Now I added white LED(White lamp).
Time || RED | GREEN | BLUE | WHITE || COMBINED COLOR
1 || 1 | 0 | 0 | 0 || RED
2 || 1 | 1 | 0 | 0 || YELLOW
3 || 0 | 1 | 0 | 0 || GREEN
4 || 0 | 1 | 1 | 0 || CIAN
5 || 0 | 0 | 1 | 0 || BLUE
6 || 0 | 0 | 0 | 1 || WHITE
7 || 1 | 0 | 0 | 1 || PINK
8 || 1 | 0 | 1 | 0 || PURPLE