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

> The rgbColor function of @salmonui/inputs/color-picker: A color from RGB (0-255) and alpha (0-1).

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

```ts
import { rgbColor } 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: function

```ts
function rgbColor(r: number, g: number, b: number, a?: number): Color;
```

A color from RGB (0-255) and alpha (0-1).
