---
id: fast-colors.colorrgba64.fromobject
title: ColorRGBA64.fromObject() method
hide_title: true
---
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[@microsoft/fast-colors](./fast-colors.md) &gt; [ColorRGBA64](./fast-colors.colorrgba64.md) &gt; [fromObject](./fast-colors.colorrgba64.fromobject.md)

## ColorRGBA64.fromObject() method

Construct a [ColorRGBA64](./fast-colors.colorrgba64.md) from a [ColorRGBA64Config](./fast-colors.colorrgba64config.md)

<b>Signature:</b>

```typescript
static fromObject(data: ColorRGBA64Config): ColorRGBA64 | null;
```

## Parameters

|  Parameter | Type | Description |
|  --- | --- | --- |
|  data | [ColorRGBA64Config](./fast-colors.colorrgba64config.md) | the config object |

<b>Returns:</b>

[ColorRGBA64](./fast-colors.colorrgba64.md) \| null
