---
title: "slint::Gray8Pixel Struct"
description: "Represents a grayscale pixel."
---
```cpp
struct Gray8Pixel;
```

```cpp
#include <slint.h>
```

Represents a grayscale pixel.

## Public Attributes

### `v`

```cpp
uint8_t slint::Gray8Pixel::v
```

luminance value (between 0 and 255)