🚀 DAY 5 OF LAUNCH WEEK: Introducing Socket Firewall Enterprise.Learn more →
Socket
Book a DemoInstallSign in
Socket

@klippersubs/hsluv

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@klippersubs/hsluv

HSLuv wrapper.

latest
Source
npmnpm
Version
1.1.0
Version published
Maintainers
1
Created
Source

@klippersubs/hsluv

CSS-ready HSLuv wrapper.

Install

yarn add @klippersubs/hsluv

Usage

import { hsluv } from '@klippersubs/hsluv';

console.log(hsluv(0, 100, 50)); // '#ea0064'
console.log(hsluv(0, 100, 50, 0.5)); // 'rgba(233,0,100,0.5)'

API

hsluv

  • Signature: (h: number, s: number, l: number, a?: number) => string.
  • Alias: hsl.

hpluv

  • Signature: (h: number, s: number, l: number, a?: number) => string.
  • Alias: hpl.

FAQs

Package last updated on 19 Sep 2017

Did you know?

Socket

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.

Install

Related posts