How to use the culori.rgb function in culori

To help you get started, we’ve selected a few culori examples, based on popular ways it is used in public projects.

github Evercoder / uiuiui / src / ColorSlider / OpacitySlider.js View on Github external
const colors_for_color = memoize(str => {
	let color = rgb(str);
	return [css({ ...color, alpha: 0 }), css({ ...color, alpha: 1 })];
});

culori

A general-purpose color library for JavaScript

MIT
Latest version published 10 months ago

Package Health Score

67 / 100
Full package analysis