# ColorPartLocaleText (@salmonui/inputs/color-picker)

> The ColorPartLocaleText interface of @salmonui/inputs/color-picker: Strings of the color parts; colorName and hueName replace the English descriptions in aria-valuetext.

Canonical: https://salmonui.dev/docs/reference/inputs/color-picker/ColorPartLocaleText

```ts
import type { ColorPartLocaleText } from '@salmonui/inputs/color-picker';
```

Entry index: https://salmonui.dev/docs/reference/inputs/color-picker (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/inputs/color-picker.md).

## Reference

Kind: interface

```ts
interface ColorPartLocaleText {
    readonly saturation?: string;
    readonly brightness?: string;
    readonly hue?: string;
    readonly alpha?: string;
    readonly colorName?: (color: Color) => string;
    readonly hueName?: (hue: number) => string;
}
```

Strings of the color parts; `colorName` and `hueName` replace the English descriptions in `aria-valuetext`.

Members (6):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `saturation` | `readonly saturation?: string;` | optional |  |
| `brightness` | `readonly brightness?: string;` | optional |  |
| `hue` | `readonly hue?: string;` | optional |  |
| `alpha` | `readonly alpha?: string;` | optional |  |
| `colorName` | `readonly colorName?: (color: Color) => string;` | optional |  |
| `hueName` | `readonly hueName?: (hue: number) => string;` | optional | Name of a hue (0-360 degrees) in the hue slider's `aria-valuetext` ("120°, green"). |
