'use strict';var chunkSVWD7LPC_cjs=require('../chunk-SVWD7LPC.cjs');require('../chunk-2KB6V6KD.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}=chunkSVWD7LPC_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(chunkSVWD7LPC_cjs.c,chunkSVWD7LPC_cjs.d),c.push([chunkSVWD7LPC_cjs.c,"hsv"],[chunkSVWD7LPC_cjs.d,"hsv"]);},d=m;module.exports=d;//# sourceMappingURL=hsv.cjs.map
//# sourceMappingURL=hsv.cjs.map