Added function for stripping units, which is critical to the RGBa fallback I wrote