This works fine:
new Color('f60'); // Result: [255, 102, 0]
but when you pass the type explicitly, hexToRgb is called twice:
new Color('f60', 'hex'); // Result: [597, 258, 0]
---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/359735-creating-a-new-color-with-explicit-type-hex-will-cast-color-twice?utm_campaign=plugin&utm_content=tracker%2F22069&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F22069&utm_medium=issues&utm_source=github).