RGB/BGR conversion macros