if Color is created with hex string RGBa comparison wont work

added check for this