@open-kappa/colors is designed with performance in mind, utilizing optimized mathematical paths and minimizing object allocation where possible.
We include a comprehensive benchmark suite leveraging the Bun runtime. To measure performance on your specific hardware:
bun run bench
to() method has a slight overhead compared to direct instantiation due to the XYZ intermediate step.