Added multiple RGB order support, renamed common arg-getter function