Ok, I think I've figured it out - if GetTrackColor returns 0, it's default, 1000000 is black. The extra color bit, |0x1000000, is what I missed to start with.
It isn't a color, though, 0, you have to use reaper's command for setting track to default color, cmd id = 40359, to actually do the deed.
|