Skip to main content
Version: 1.x

@microsoft/fast-colors > ColorHSV > toObject

ColorHSV.toObject() method

Returns the ColorHSV formatted as an object.

Signature:
toObject(): {
h: number;
s: number;
v: number;
};
Returns:

{ h: number; s: number; v: number; }