import{isString as r}from"../utils.js";import{hex as t}from"./hex.js";import{hsla as s}from"./hsla.js";import{rgba as e}from"./rgba.js";var o={test:function(r){return e.test(r)||t.test(r)||s.test(r)},parse:function(r){return e.test(r)?e.parse(r):s.test(r)?s.parse(r):t.parse(r)},transform:function(t){return r(t)?t:t.hasOwnProperty("red")?e.transform(t):s.transform(t)}};export{o as color};
//# sourceMappingURL=index.js.map
