<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@essex/toolbox](./toolbox.md) &gt; [parseRgbFromCssColor](./toolbox.parsergbfromcsscolor.md)

## parseRgbFromCssColor() function

Creates RGB color object from HEX color string

<b>Signature:</b>

```typescript
export declare function parseRgbFromCssColor(colorInput: string): RGB;
```

## Parameters

|  Parameter | Type | Description |
|  --- | --- | --- |
|  colorInput | string |  |

<b>Returns:</b>

RGB

rgb color object {<!-- -->r:number, g: number, b:number<!-- -->}

