may be 24-bit RGB (#XXXXXX), 12-bit RGB (#XXX), 32-bit RGBA, (#XXXXXXXX), or 16-bit RGBA (#XXXX). Alpha channel is ignored.
Optional
rgbSpace: RGBSpace = SRGBOptional
threshold: number = 1e-6Optional
maxIteration: number = 200Optional
ifReachMax: ProcType = 'error'Optional
factor: number = 0.5[Hue, Value, Chroma]
Generated using TypeDoc
Converts hex color to Munsell HVC. Whether this conversion succeeds or not depends on the parameters though the following behaviour is guaranteed and tested on Node.js:
If the optional parameters have default values,
hexToMhvc()
successfully returns Munsell HVC beforemaxIteration
See
lchabToMhvc