@microsoft/fast-colors > ColorHSV > fromObject
ColorHSV.fromObject() method
Construct a ColorHSV from a config object.
Signature:static fromObject(data: {
h: number;
s: number;
v: number;
}): ColorHSV | null;
Parameters
Parameter | Type | Description |
---|---|---|
data | { h: number; s: number; v: number; } |
ColorHSV | null