# Color.FromRgb

```csharp
static Color 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

`Color`

Declared in [Color](/api/Color).
Assembly: `Sandbox.System`.
