rgb output of orientation working