I am trying to build my own psd editor. And i need the color of the given text layer. The color is in `type:2`, How do i convert this to rgb ?