channelColor
import { channelColor } from 'pixi-silk/ui/color';
function channelColor(
model: ColorModel,
channel: ColorChannel,
t: number
): RGB;
The colour at position t (0..1) of a channel track, given the rest of the current colour.
Parameters#
| Parameter | Type |
|---|---|
model | ColorModel |
channel | ColorChannel |
t | number |