class Colorimport { Color } from "https://deno.land/x/colors@v1.2.0/dist/color.js"; ConstructorsnewColor(rOrHex,g,b,a?,)PropertiesareadonlyaveragebreadonlychromareadonlycmykgreadonlygrayscalereadonlyhcgreadonlyhexreadonlyhslreadonlyhsvreadonlyhuereadonlyinvertreadonlylabreadonlylightnessreadonlylinearRgbreadonlyluminancereadonlymaxreadonlyminreadonlyperceivedLightnessrreadonlysaturationreadonlyxyzMethodscontrast(that)mix(that, percentage?)shade(weight?)tint(weight?)toJSON()toString()Static MethodsfromCmyk(c,m,y,k,)fromHex(hex)fromHsl(h,s,l,)fromHsv(h,s,v,)fromLab(l,a,b,)fromRgba(r,g,b,a?,)fromXyz(x,y,z,)toHex(n)