class Colorimport { Color } from "https://deno.land/x/colors@v1.0.0/dist/color.js"; ConstructorsnewColor(rOrHex,g,b,a?,)PropertiesareadonlyaveragebreadonlychromareadonlycmykgreadonlygrayscalereadonlyhcgreadonlyhexreadonlyhslreadonlyhsvreadonlyhuereadonlyinvertreadonlylabreadonlylightnessreadonlylinearRgbreadonlyluminancereadonlymaxreadonlyminreadonlyperceivedLightnessrreadonlysaturationreadonlyxyzMethodscontrast(that)toJSON()toString()Static MethodstoHex(n)