I\'m making an iOS game using cocos2d libraries.
Lets say you have two objects that have two separate colours - defined in RGB as
Blue: 0,0,255 Ye
Actually it seems that converting RGB->XYZ->LAB does exatly the same thing as RGB->LAB