normalize color in transitions with color

• transitions involving hsl/hsla colors won't fail, like backgroundColor.
• fix also transitions with values in rgba on chrome and safari.