'use strict';var chunkBLKDDW2U_cjs=require('../chunk-BLKDDW2U.cjs');require('../chunk-3V4MONNR.cjs');var chunkYISEJCI6_cjs=require('../chunk-YISEJCI6.cjs');var m=(p,u,c)=>{p.prototype.toHsv=function(o=2){let{h:r,s:t,v:s,alpha:n}=chunkBLKDDW2U_cjs.a(this._rawRgb()),h=chunkYISEJCI6_cjs.b(r,o);return {h:h>=360?0:h,s:chunkYISEJCI6_cjs.b(t,o),v:chunkYISEJCI6_cjs.b(s,o),alpha:n}},p.prototype.toHsvString=function(o=2){let{h:r,s:t,v:s,alpha:n}=this.toHsv(o);return n<1?`hsv(${r} ${t}% ${s}% / ${n})`:`hsv(${r} ${t}% ${s}%)`},u.push(chunkBLKDDW2U_cjs.c,chunkBLKDDW2U_cjs.d),c.push([chunkBLKDDW2U_cjs.c,"hsv"],[chunkBLKDDW2U_cjs.d,"hsv"]);},d=m;module.exports=d;//# sourceMappingURL=hsv.cjs.map
//# sourceMappingURL=hsv.cjs.map