rgb macro for palettes