# PlacesMaterialColor

    struct PlacesMaterialColor

    extension PlacesMaterialColor : Equatable, Hashable, Sendable, SendableMetatype

Material color tokens.
- `
  ### [==(_:_:)](https://developers.google.com/maps/documentation/places/ios-sdk/reference/swift/Structs/PlacesMaterialColor#/s:17GooglePlacesSwift0B13MaterialColorV2eeoiySbAC_ACtFZ)

  ` Returns a Boolean value indicating whether two values are equal.

  Equality is the inverse of inequality. For any values `a` and `b`, `a == b` implies that `a != b` is `false`.

  #### Declaration

  Swift

      static func == (a: PlacesMaterialColor, b: PlacesMaterialColor) -> Bool

- `
  ### [buttonBorder](https://developers.google.com/maps/documentation/places/ios-sdk/reference/swift/Structs/PlacesMaterialColor#/s:17GooglePlacesSwift0B13MaterialColorV12buttonBorder0C2UI0E0Vvp)

  ` The color of the border of Button components. Transparent by default.

  #### Declaration

  Swift

      var buttonBorder: Color

- `
  ### [buttonPrimaryBorder](https://developers.google.com/maps/documentation/places/ios-sdk/reference/swift/Structs/PlacesMaterialColor#/s:17GooglePlacesSwift0B13MaterialColorV19buttonPrimaryBorder0C2UI0E0Vvp)

  ` The color of primary action button borders in Advanced components.

  #### Declaration

  Swift

      var buttonPrimaryBorder: Color

- `
  ### [disabledSurface](https://developers.google.com/maps/documentation/places/ios-sdk/reference/swift/Structs/PlacesMaterialColor#/s:17GooglePlacesSwift0B13MaterialColorV15disabledSurface0C2UI0E0Vvp)

  ` The color of the empty star in the rating view.

  #### Declaration

  Swift

      var disabledSurface: Color

- `
  ### [hash(into:)](https://developers.google.com/maps/documentation/places/ios-sdk/reference/swift/Structs/PlacesMaterialColor#/s:17GooglePlacesSwift0B13MaterialColorV4hash4intoys6HasherVz_tF)

  ` Hashes the essential components of this value by feeding them into the given hasher.

  Implement this method to conform to the `Hashable` protocol. The components used for hashing must be the same as the components compared in your type's `==` operator implementation. Call `hasher.combine(_:)` with each of these components.
  Important

  In your implementation of `hash(into:)`, don't call `finalize()` on the `hasher` instance provided, or replace it with a different instance. Doing so may become a compile-time error in the future.

  #### Declaration

  Swift

      func hash(into hasher: inout Hasher)

- `
  ### [hashValue](https://developers.google.com/maps/documentation/places/ios-sdk/reference/swift/Structs/PlacesMaterialColor#/s:17GooglePlacesSwift0B13MaterialColorV9hashValueSivp)

  ` The hash value.

  Hash values are not guaranteed to be equal across different executions of your program. Do not save hash values to use during a future execution.
  Important
  `hashValue` is deprecated as a `Hashable` requirement. To conform to `Hashable`, implement the `https://developers.google.com/maps/documentation/places/ios-sdk/reference/swift/Structs/PlacesMaterialColor.html#/s:17GooglePlacesSwift0B13MaterialColorV4hash4intoys6HasherVz_tF` requirement instead. The compiler provides an implementation for `hashValue` for you.

  #### Declaration

  Swift

      var hashValue: Int { get }

- `
  ### [info](https://developers.google.com/maps/documentation/places/ios-sdk/reference/swift/Structs/PlacesMaterialColor#/s:17GooglePlacesSwift0B13MaterialColorV4info0C2UI0E0Vvp)

  ` The color of the accessibility icon.

  #### Declaration

  Swift

      var info: Color

- `
  ### [init()](https://developers.google.com/maps/documentation/places/ios-sdk/reference/swift/Structs/PlacesMaterialColor#/s:17GooglePlacesSwift0B13MaterialColorVACycfc)

  ` Creates a default color theme.

  #### Declaration

  Swift

      init()

- `
  ### [negative](https://developers.google.com/maps/documentation/places/ios-sdk/reference/swift/Structs/PlacesMaterialColor#/s:17GooglePlacesSwift0B13MaterialColorV8negative0C2UI0E0Vvp)

  ` The color of text like Closed.

  #### Declaration

  Swift

      var negative: Color

- `
  ### [neutralContainer](https://developers.google.com/maps/documentation/places/ios-sdk/reference/swift/Structs/PlacesMaterialColor#/s:17GooglePlacesSwift0B13MaterialColorV16neutralContainer0C2UI0E0Vvp)

  ` The background color of the review date label.

  #### Declaration

  Swift

      var neutralContainer: Color

- `
  ### [onNeutralContainer](https://developers.google.com/maps/documentation/places/ios-sdk/reference/swift/Structs/PlacesMaterialColor#/s:17GooglePlacesSwift0B13MaterialColorV18onNeutralContainer0C2UI0E0Vvp)

  ` The color of the review date label.

  #### Declaration

  Swift

      var onNeutralContainer: Color

- `
  ### [onNeutralContainerVariant](https://developers.google.com/maps/documentation/places/ios-sdk/reference/swift/Structs/PlacesMaterialColor#/s:17GooglePlacesSwift0B13MaterialColorV25onNeutralContainerVariant0C2UI0E0Vvp)

  ` The color of the search bar hint text in the autocomplete component.

  #### Declaration

  Swift

      var onNeutralContainerVariant: Color

- `
  ### [onPositiveContainer](https://developers.google.com/maps/documentation/places/ios-sdk/reference/swift/Structs/PlacesMaterialColor#/s:17GooglePlacesSwift0B13MaterialColorV19onPositiveContainer0C2UI0E0Vvp)

  ` The color of the text on the EV charging badge.

  #### Declaration

  Swift

      var onPositiveContainer: Color

- `
  ### [onPrimaryContainer](https://developers.google.com/maps/documentation/places/ios-sdk/reference/swift/Structs/PlacesMaterialColor#/s:17GooglePlacesSwift0B13MaterialColorV18onPrimaryContainer0C2UI0E0Vvp)

  ` The color of primary action button texts in Advanced components.

  #### Declaration

  Swift

      var onPrimaryContainer: Color

- `
  ### [onSecondaryContainer](https://developers.google.com/maps/documentation/places/ios-sdk/reference/swift/Structs/PlacesMaterialColor#/s:17GooglePlacesSwift0B13MaterialColorV20onSecondaryContainer0C2UI0E0Vvp)

  ` The color of the text on buttons.

  #### Declaration

  Swift

      var onSecondaryContainer: Color

- `
  ### [onSurface](https://developers.google.com/maps/documentation/places/ios-sdk/reference/swift/Structs/PlacesMaterialColor#/s:17GooglePlacesSwift0B13MaterialColorV9onSurface0C2UI0E0Vvp)

  ` The color of text like place name.

  #### Declaration

  Swift

      var onSurface: Color

- `
  ### [onSurfaceVariant](https://developers.google.com/maps/documentation/places/ios-sdk/reference/swift/Structs/PlacesMaterialColor#/s:17GooglePlacesSwift0B13MaterialColorV16onSurfaceVariant0C2UI0E0Vvp)

  ` The color of text like address.

  #### Declaration

  Swift

      var onSurfaceVariant: Color

- `
  ### [outlineDecorative](https://developers.google.com/maps/documentation/places/ios-sdk/reference/swift/Structs/PlacesMaterialColor#/s:17GooglePlacesSwift0B13MaterialColorV17outlineDecorative0C2UI0E0Vvp)

  ` The outline color of the component.

  #### Declaration

  Swift

      var outlineDecorative: Color

- `
  ### [popularTimesBar](https://developers.google.com/maps/documentation/places/ios-sdk/reference/swift/Structs/PlacesMaterialColor#/s:17GooglePlacesSwift0B13MaterialColorV15popularTimesBar0C2UI0E0Vvp)

  ` The color of the popular times bar.

  #### Declaration

  Swift

      var popularTimesBar: Color

- `
  ### [popularTimesBarCurrentHour](https://developers.google.com/maps/documentation/places/ios-sdk/reference/swift/Structs/PlacesMaterialColor#/s:17GooglePlacesSwift0B13MaterialColorV26popularTimesBarCurrentHour0C2UI0E0Vvp)

  ` The color of the current hour in the popular times bar.

  #### Declaration

  Swift

      var popularTimesBarCurrentHour: Color

- `
  ### [popularTimesBarCurrentHourLive](https://developers.google.com/maps/documentation/places/ios-sdk/reference/swift/Structs/PlacesMaterialColor#/s:17GooglePlacesSwift0B13MaterialColorV30popularTimesBarCurrentHourLive0C2UI0E0Vvp)

  ` The color of the current hour in the popular times bar when live.

  #### Declaration

  Swift

      var popularTimesBarCurrentHourLive: Color

- `
  ### [positive](https://developers.google.com/maps/documentation/places/ios-sdk/reference/swift/Structs/PlacesMaterialColor#/s:17GooglePlacesSwift0B13MaterialColorV8positive0C2UI0E0Vvp)

  ` The color of text like Open.

  #### Declaration

  Swift

      var positive: Color

- `
  ### [positiveContainer](https://developers.google.com/maps/documentation/places/ios-sdk/reference/swift/Structs/PlacesMaterialColor#/s:17GooglePlacesSwift0B13MaterialColorV17positiveContainer0C2UI0E0Vvp)

  ` The color of the EV charging badge.

  #### Declaration

  Swift

      var positiveContainer: Color

- `
  ### [primary](https://developers.google.com/maps/documentation/places/ios-sdk/reference/swift/Structs/PlacesMaterialColor#/s:17GooglePlacesSwift0B13MaterialColorV7primary0C2UI0E0Vvp)

  ` The color of the spinner.

  #### Declaration

  Swift

      var primary: Color

- `
  ### [primaryContainer](https://developers.google.com/maps/documentation/places/ios-sdk/reference/swift/Structs/PlacesMaterialColor#/s:17GooglePlacesSwift0B13MaterialColorV16primaryContainer0C2UI0E0Vvp)

  ` The color of the primary action button backgrounds in Advanced components.

  #### Declaration

  Swift

      var primaryContainer: Color

- `
  ### [secondaryContainer](https://developers.google.com/maps/documentation/places/ios-sdk/reference/swift/Structs/PlacesMaterialColor#/s:17GooglePlacesSwift0B13MaterialColorV18secondaryContainer0C2UI0E0Vvp)

  ` The background color of the buttons.

  #### Declaration

  Swift

      var secondaryContainer: Color

- `
  ### [starRating](https://developers.google.com/maps/documentation/places/ios-sdk/reference/swift/Structs/PlacesMaterialColor#/s:17GooglePlacesSwift0B13MaterialColorV10starRating0C2UI0E0Vvp)

  ` The color of the rating star.

  #### Declaration

  Swift

      var starRating: Color

- `
  ### [surface](https://developers.google.com/maps/documentation/places/ios-sdk/reference/swift/Structs/PlacesMaterialColor#/s:17GooglePlacesSwift0B13MaterialColorV7surface0C2UI0E0Vvp)

  ` The background color of the component.

  #### Declaration

  Swift

      var surface: Color

- `
  ### [surfaceImmersive](https://developers.google.com/maps/documentation/places/ios-sdk/reference/swift/Structs/PlacesMaterialColor#/s:17GooglePlacesSwift0B13MaterialColorV16surfaceImmersive0C2UI0E0Vvp)

  ` The dark colored author name text.

  #### Declaration

  Swift

      @available(*, deprecated, message: "Not supported in the new design.")
      var surfaceImmersive: Color