> For the complete documentation index, see [llms.txt](https://docs.augelab.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.augelab.com/function-blocks/blocks-reference/input-output/image-inputs/pixel.md).

# Pixel

This function block creates a single custom color pixel using three sliders for Blue, Green and Red channel values. Use it when you need a color value (BGR tuple) as an input for other blocks or to build simple images.

## 📥 Inputs <a href="#inputs" id="inputs"></a>

This function block does not have any inputs.

## 📤 Outputs <a href="#outputs" id="outputs"></a>

`(Blue, Green, Red)` This output is a color tuple with integer channel values in BGR order (each 0–255). It can be used wherever a pixel or color value is required.

## 🕹️ Controls <a href="#controls" id="controls"></a>

`Blue Value` Slider to set blue channel (0–255)\
`Green Value` Slider to set green channel (0–255)\
`Red Value` Slider to set red channel (0–255)

## 🎨 Features <a href="#features" id="features"></a>

* Live adjustable sliders for each color channel for quick color selection.
* Produces a ready-to-use BGR color tuple for other blocks.
* Compact and simple UI for picking colors without external tools.

## 📝 Usage Instructions <a href="#usage" id="usage"></a>

1. Adjust the `Blue Value`, `Green Value`, and `Red Value` sliders to choose your color.
2. Connect the `(Blue, Green, Red)` output to any block that accepts a pixel/color or uses a mask/color parameter.

## 📊 Evaluation <a href="#evaluation" id="evaluation"></a>

When evaluated, the block returns a single tuple representing the selected color in BGR order. The value updates as you change the sliders.

## 💡 Tips and Tricks <a href="#tips-and-tricks" id="tips-and-tricks"></a>

* Combine with `Make Image` to create a solid color image quickly (use the selected color as the fill color).
* Use with `Show Image` to preview the resulting image or color-filled canvas.
* Use the color tuple as `Mask Color` input in `RGB Mask` or as color input for `RGB Set` to apply or visualize color-based operations.
* Save example palettes by connecting resulting images to `Image Logger` or `Image Write` for later reuse.

Suggested block combinations:

* `Pixel` → `Make Image` → `Show Image`
* `Pixel` → `RGB Mask` (as `Mask Color`) → further processing
* `Pixel` → `RGB Set` or `Merge Channels` when constructing or altering images

## 🛠️ Troubleshooting <a href="#troubleshooting" id="troubleshooting"></a>

* Unexpected color in results: remember the output ordering is BGR (Blue first). If a downstream block expects RGB, swap channels or use blocks that accept RGB/BGR appropriately.
* No effect on image: ensure the downstream block actually accepts a color or pixel tuple (check the target block's expected inputs).
