Back to Website
Show / Hide Table of Contents

Class ColorParser

Package: @aurigma/design-atoms

Constructors

(constructor)(namedColorConverter, rgbColorParser, cmykColorParser, labColorParser, spotColorParser)

Constructs a new instance of the ColorParser class

Declaration
constructor(namedColorConverter: INamedColorConverter, rgbColorParser: IRgbColorParser, cmykColorParser: ICmykColorParser, labColorParser: ILabColorParser, spotColorParser: ISpotColorParser);
Parameters
Type Name Description
INamedColorConverter namedColorConverter
IRgbColorParser rgbColorParser
ICmykColorParser cmykColorParser
ILabColorParser labColorParser
ISpotColorParser spotColorParser

Methods

parse(colorString)

Declaration
parse(colorString: string): Color;
Parameters
Type Name Description
string colorString
Returns
Type Description
Color
Was this page helpful?
Thanks for your feedback!
Back to top Copyright © 2001–2025 Aurigma, Inc. All rights reserved.
Loading...
    Thank for your vote
    Your opinion is important to us. To provide details, send feedback.
    Send feedback