I hear that in other programming langauges that RGB(red, green and blue) are consitered vectors. Is it the same as in mel?
yes and no. Depends on how you acces the color. in creators they are usualy defined by float arrays while in the nodes themselevs they ares treated as any other vercror would. BUt again maya and mel isnt realy exactly what you think here.