---
id: fast-colors.colorlch.toobject
title: ColorLCH.toObject() method
hide_title: true
---
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[@microsoft/fast-colors](./fast-colors.md) &gt; [ColorLCH](./fast-colors.colorlch.md) &gt; [toObject](./fast-colors.colorlch.toobject.md)

## ColorLCH.toObject() method

Converts the [ColorLCH](./fast-colors.colorlch.md) to a config object.

<b>Signature:</b>

```typescript
toObject(): {
        l: number;
        c: number;
        h: number;
    };
```
<b>Returns:</b>

{ l: number; c: number; h: number; }
