Now that EUI has heavy reliance on chroma-js (color palette creation, color contrast calculations for a11y), other custom methods should likely be deprecated and removed.
Such custom methods are part of the public API, so we need to either schedule for deprecation and removal, or convert them to use chroma-js for consistency.
Methods in the EUI public API:
hexToHsv,
hexToRgb,
hsvToHex,
hsvToRgb,
rgbToHex,
rgbToHsv,
isValidHex
Now that EUI has heavy reliance on
chroma-js(color palette creation, color contrast calculations for a11y), other custom methods should likely be deprecated and removed.Such custom methods are part of the public API, so we need to either schedule for deprecation and removal, or convert them to use
chroma-jsfor consistency.Methods in the EUI public API: