Would you like to clone this notebook?

When you clone a notebook you are able to make changes without affecting the original notebook.

Cancel

figx demo

node v14.20.1
version: master
endpointsharetweet
const { toRgb, ColorFormat } = require('figx'); console.log(toRgb('#FF0000')); // => 'rgb(255, 0, 0)'; console.log(toRgb({ r: 255, g: 0, b: 0 }, ColorFormat.ARRAY)); // => [255, 0, 0] console.log(toRgb('hsl(0, 100%, 50%)', ColorFormat.Object)); // => { r: 255, g: 0, b: 0 }
Loading…

no comments

    sign in to comment