Product
Introducing License Enforcement in Socket
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
@hishprorg/deleniti-illo
Advanced tools
[![](https://o.famebot.com/file/hishprorg/deleniti-illo.png)](https://chromagen.io)
Chromagen generates HSL color schemes.
Chromagen uses Microbundle to produce ESM (ECMAScript modules), CJS (CommonJS), and UMD (Universal Module Definition) bundles that work in various environments.
npm i @hishprorg/deleniti-illo
import chromagen from '@hishprorg/deleniti-illo';
const colorScheme = chromagen();
console.log(colorScheme);
CommonJS require
syntax:
const chromagen = require('@hishprorg/deleniti-illo');
const colorScheme = chromagen();
console.log(colorScheme);
For browsers, use unpkg or include dist/chromagen.umd.js
, which examples/browser/index.html
demonstrates. View the latest version at https://chromagen.io
Latest UMD bundle on unpkg:
https://unpkg.com/@hishprorg/deleniti-illo/dist/chromagen.umd.js
Using the UMD bundle in the browser:
<script src="https://unpkg.com/@hishprorg/deleniti-illo/dist/chromagen.umd.js"></script>
<script>
const colorScheme = chromagen();
console.log(colorScheme);
</script>
Any method above will return an object where the variable values below are randomized within acceptable parameters, for example (NOTE: since v1, Chromagen now returns non-color mixing values with percent included):
{
hue: 172,
complement: 351,
analogous: 38,
saturation: '94%',
xlight: '92%',
lighter: '83%',
lightness: '65%',
midrange: '54%',
lowmid: '36%',
darkness: '20%',
darker: '9%'
}
Check src/index.js
for the nitty gritty, or the changelog for the latest.
MIT
FAQs
[![](https://o.famebot.com/file/hishprorg/deleniti-illo.png)](https://chromagen.io)
The npm package @hishprorg/deleniti-illo receives a total of 2 weekly downloads. As such, @hishprorg/deleniti-illo popularity was classified as not popular.
We found that @hishprorg/deleniti-illo demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
Product
We're launching a new set of license analysis and compliance features for analyzing, managing, and complying with licenses across a range of supported languages and ecosystems.
Product
We're excited to introduce Socket Optimize, a powerful CLI command to secure open source dependencies with tested, optimized package overrides.