# Color32.Parse

```csharp
static System.Nullable<Color32> Parse(string value)
```

Parse a string to a color, in format "255 255 255 255" or "255,255,255". Alpha is optional.

### Parameters

- `value` (`string`): The value to parse.

### Returns

`System.Nullable<Color32>`: The color parsed from the string, or null if we failed to do so.

Declared in [Color32](/api/Color32).
Assembly: `Sandbox.System`.
