> Documentation index: [Saleor](/llms.txt) · [This section](/api-reference/attributes/llms.txt)
> Source: https://docs.saleor.io/api-reference/attributes/objects/assigned-swatch-attribute-value

# AssignedSwatchAttributeValue Object

Represents a single swatch value.

Added in Saleor 3.22

```graphql
type AssignedSwatchAttributeValue {
  name: String
  slug: String
  hexColor: String
  file: File
  translation(languageCode: LanguageCodeEnum!): String
}
```

<a id="fields"></a>

### Fields

<a id="name"></a>

#### [`name`](#name) ● [`String`](/api-reference/miscellaneous/scalars/string.md)

Name of the selected swatch value.

<a id="slug"></a>

#### [`slug`](#slug) ● [`String`](/api-reference/miscellaneous/scalars/string.md)

Slug of the selected swatch value.

<a id="hex-color"></a>

#### [`hexColor`](#hex-color) ● [`String`](/api-reference/miscellaneous/scalars/string.md)

Hex color code.

<a id="file"></a>

#### [`file`](#file) ● [`File`](/api-reference/miscellaneous/objects/file.md)

File associated with the attribute.

<a id="translation"></a>

#### [`translation`](#translation) ● [`String`](/api-reference/miscellaneous/scalars/string.md)

Translation of the name.

Added in Saleor 3.22

<a id="assigned-swatch-attribute-value-translation-language-code"></a>

##### [`languageCode`](#assigned-swatch-attribute-value-translation-language-code) ● [`LanguageCodeEnum!`](/api-reference/miscellaneous/enums/language-code-enum.md)

<a id="member-of"></a>

### Member Of

[`AssignedSwatchAttribute`](/api-reference/attributes/objects/assigned-swatch-attribute.md) object
