diff --git a/dist/index.html b/dist/index.html index 9b3b313..8e42dba 100644 --- a/dist/index.html +++ b/dist/index.html @@ -1509,7 +1509,8 @@

Support

import { formatHex, converter, formatCss, inGamut } from 'https://cdn.skypack.dev/culori@^3.1.1'; import hljs from 'https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.7.0/es/highlight.min.js'; - + import { rybHsl2rgb } from "https://esm.sh/rybitten/" + import { Poline, positionFunctions, @@ -1549,6 +1550,13 @@

Support

key: 'dlch', label: 'DLCH', fn: (hsl) => { return { l: hsl[2] * 100, c: hsl[1] * 51.484, h: hsl[0] } }, + }, { + key: 'rgb', + label: 'RYBitten', + fn: (hsl) => { + const [r,g,b] = rybHsl2rgb(hsl); + return { r, g, b }; + }, }]; let currentHueModel = 'hsl';