import type { TRgb , THcl } from '@fantasy-color/types' ; import rgbToLab from '@fantasy-color/rgb-to-lab' ; import labToHcl from '@fantasy-color/lab-to-hcl' ; export default ( color ) : THcl => labToHcl ( rgbToLab ( color ) ) ;