# Color32.FromRgb

```csharp
static Color32 FromRgb(uint rgb)
```

Converts an integer of the form 0xRRGGBB into the color #RRGGBB with 100% alpha.

### Parameters

- `rgb` (`uint`): Integer between 0x000000 and 0xffffff representing a color.

### Returns

`Color32`

Declared in [Color32](/api/Color32).
Assembly: `Sandbox.System`.
