Function isRgbChannel