# AccentColorShades

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-base/platform/struct-accentcolorshades/

**struct** · [`ferroui-base`](/docs/0.5.0/api/ferroui-base/) · v0.5.0

```rust
struct AccentColorShades
```

The six shades of the accent color that a system computes from it: three
darker and three lighter ones, as Windows reports them
(`UIColorType::AccentDark3` to `AccentLight3` of `UISettings`).

A FerroUI addition: platforms that compute no shades report none, and a
theme computes its own from the accent color.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/platform/platform_color_values.rs#L28)

## Members

- [`dark1`](#struct_field-dark1)
- [`dark2`](#struct_field-dark2)
- [`dark3`](#struct_field-dark3)
- [`light1`](#struct_field-light1)
- [`light2`](#struct_field-light2)
- [`light3`](#struct_field-light3)

<a id="struct_field-dark1"></a>

### dark1

```rust
dark1: crate::media::Color
```

The first darker shade.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/platform/platform_color_values.rs#L30)

<a id="struct_field-dark2"></a>

### dark2

```rust
dark2: crate::media::Color
```

The second darker shade.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/platform/platform_color_values.rs#L32)

<a id="struct_field-dark3"></a>

### dark3

```rust
dark3: crate::media::Color
```

The darkest shade.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/platform/platform_color_values.rs#L34)

<a id="struct_field-light1"></a>

### light1

```rust
light1: crate::media::Color
```

The first lighter shade.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/platform/platform_color_values.rs#L36)

<a id="struct_field-light2"></a>

### light2

```rust
light2: crate::media::Color
```

The second lighter shade.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/platform/platform_color_values.rs#L38)

<a id="struct_field-light3"></a>

### light3

```rust
light3: crate::media::Color
```

The lightest shade.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/platform/platform_color_values.rs#L40)

## Trait implementations

- `Send`
- `Sync`
- `Freeze`
- `UnsafeUnpin`
- `Unpin`
- `UnwindSafe`
- `RefUnwindSafe`
- [`ResourceKeyObject`](/docs/0.5.0/api/ferroui-base/controls/trait-resourcekeyobject/)
- [`PropertyValue`](/docs/0.5.0/api/ferroui-base/trait-propertyvalue/)
- [`AnyValue`](/docs/0.5.0/api/ferroui-base/trait-anyvalue/)
- [`ClassDefaults`](/docs/0.5.0/api/ferroui-base/trait-classdefaults/)
- `Borrow<T>`
- `BorrowMut<T>`
- `CloneToUninit`
- `Into<U>`
- `From<T>`
- `TryInto<U>`
- `TryFrom<U>`
- `Any`
- `ToOwned`
- `ErasedDestructor`
- `IntoEither`
- `Clone`
- `Copy`
- `Debug`
- `StructuralPartialEq`
- `PartialEq`
- `Eq`
- `Hash`

## Availability

Extracted for `aarch64-apple-darwin`. Cargo features are listed in the [crate index](/docs/0.5.0/api/).
