# SetColorChannel Formatter Examples

## Example 1

```jsx
<SampleViz
    context={{
         rowBGConfig: {
             channel: 'hsl.l',
             value: '*0.2'
         },
         headerBackgroundColor: {
             channel: 'hsv.v',
             value: '*0.66'
         }
    }}
    options={{
        backgroundColor: 'orangered',
        rowBackgroundColor: '> backgroundColor | setColorChannel(rowBGConfig)',   // #330e00
        headerColor: '> backgroundColor | setColorChannel(headerColorConfig)',    // #a82e00
    }}
    dataSources={{
        primary: {
            data: {
                fields: [{ name: 'foo' }]
                columns: [[100, 200]]
            }
        }
    }}
/>
```
