> ## Documentation Index
> Fetch the complete documentation index at: https://lua.starline.one/llms.txt
> Use this file to discover all available pages before exploring further.

# Color

> Create RGBA colors for rendering, ESP, and UI controls.

A color, 0–255 per channel. `a` defaults to 255.

```lua theme={"dark"}
local white = Color(255, 255, 255)
local red   = Color(255, 0, 0)
local half  = Color(0, 128, 255, 128)
```

## Fields

```lua theme={"dark"}
local c = Color(200, 150, 100)
c.r, c.g, c.b, c.a   -- 200, 150, 100, 255
c.a = 128            -- writable
```

Assigning out of `0..255` clamps.

## Where Colors are accepted

Everywhere `renderer.*` takes a color, and `ui.ColorPicker`.

```lua theme={"dark"}
renderer.RectFilled(10, 10, 100, 100, Color(0, 200, 0))
local col = g.ColorPicker("outline", Color(255, 0, 0, 200))
local c   = col:Get()   -- returns a Color
```
