@tempots/color

CMYK.fromString property

Creates a CMYK color instance from a string representation. The string should be in the format "cmyk(c%, m%, y%, k%)".

Signature:

static readonly fromString: (s: string) => CMYK;