@domrally/multi-color
v0.2.0
Published
false color gradients
Downloads
1
Maintainers
Readme
multi-color
visually balanced gradients
features
- gamma corrected sRGB display mapping
- cyclindrical Ok Lab interpolation space
- css input supported by colorjs.io
- dual css gradient fallback
- minified by default
use
multi-color {
--background-top-left-color: #0ff;
--background-top-right-color: #f0f;
--background-bottom-left-color: #f0f;
--background-bottom-right-color: #00f;
}
node
npm i multi-color
export default function () {
return <multi-color></multi-color>
}
browser
<html>
<head>
<script src="https://cdn.jsdelivr.net/npm/multi-color/index.js"></script>
</head>
<body>
<multi-color></multi-color>
</body>
</html>