public override Type GetClientLibraryType(Type type) { if (type == typeof(WebColor)) return typeof(string); return base.GetClientLibraryType(type); }