
Product
Introducing Repository Labels and Security Policies
Socket is introducing a new way to organize repositories and apply repository-specific security policies.
hsl-to-rgb-for-reals
Advanced tools
##HSL -> RGB Convert HSL values (hue, saturation, light) to RGB values (red, green, blue). Expected values: Hue: [0, 360[ Saturation: [0, 1] Lightness: [0, 1]
Author forgot to export their function in the hsl-to-rgb module,
there's a PR that's been sitting for over a year (at time of writing).
Let's use hsl-to-rgb-for-reals
until original author merges. Huzzah!
Funny story - I forgot to module export in v1.0.0 too! Don't use 1.0.0.
Getting started:
npm install hsl-to-rgb-for-reals --save
Use:
var converter = require('hsl-to-rgb-for-reals');
var slateBlue = converter(223, 0.44, 0.56);
console.log(slateBlue);
// logs [93, 121, 192]
Bug the original author :D https://github.com/kayellpeee/hsl_rgb_converter/issues
FAQs
simple HSL to RGB converter
The npm package hsl-to-rgb-for-reals receives a total of 584,968 weekly downloads. As such, hsl-to-rgb-for-reals popularity was classified as popular.
We found that hsl-to-rgb-for-reals demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
Socket is introducing a new way to organize repositories and apply repository-specific security policies.
Research
Security News
Socket researchers uncovered malicious npm and PyPI packages that steal crypto wallet credentials using Google Analytics and Telegram for exfiltration.
Product
Socket now supports .NET, bringing supply chain security and SBOM accuracy to NuGet and MSBuild-powered C# projects.