---
id: fast-components.interactivecolorrecipe.evaluate
title: InteractiveColorRecipe.evaluate() method
hide_title: true
---
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[@microsoft/fast-components](./fast-components.md) &gt; [InteractiveColorRecipe](./fast-components.interactivecolorrecipe.md) &gt; [evaluate](./fast-components.interactivecolorrecipe.evaluate.md)

## InteractiveColorRecipe.evaluate() method

<b>Signature:</b>

```typescript
evaluate(element: HTMLElement, reference?: Swatch): InteractiveSwatchSet;
```

## Parameters

|  Parameter | Type | Description |
|  --- | --- | --- |
|  element | HTMLElement |  |
|  reference | [Swatch](./fast-components.swatch.md) |  |

<b>Returns:</b>

[InteractiveSwatchSet](./fast-components.interactiveswatchset.md)
