inserting functions for converting RGB/RGBA