ngx-colors
ngx-colors copied to clipboard
Export functions to convert to different color value
Hello,
would it be possible to expose the functions you use for converting the color values to a different type, e.g. rgba to hex. I need to let the user choose a color value he wants but save a specific value. Therefore, it'd be great if I could handle it the same way as you so in order to prevent bugs on two sides.
Thanks in advance. :)
Hey there,
I found the class "ConverterService". That's exaclty what I need. However, it is not part of the public API. Unfortunately, I cannot use it.
Error: Module not found: Error: Package path ./lib/services/converter.service is not exported from package /xyz/node_modules/ngx-colors (see exports field in /xyz/node_modules/ngx-colors/package.json)
It'd be so great to use this ConverterService.