@types/hsl-to-hex
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

Installation

npm install --save @types/hsl-to-hex

Summary

This package contains type definitions for hsl-to-hex (https://github.com/davidmarkclements/hsl-to-hex#readme).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/hsl-to-hex.

index.d.ts

/**
 * Convert hue, saturation and luminosity to hex string
 *
 * e.g. hsl(212, 32, 65) to '#89a4c2'
 */
declare function hslToHex(hue: number, saturation: number, luminosity: number): string;
export = hslToHex;

Additional Details

  • Last updated: Tue, 07 Nov 2023 03:09:37 GMT
  • Dependencies: none

Credits

These definitions were written by vijexa.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/hsl-to-hex

Weekly Downloads

900

Version

1.0.2

License

MIT

Unpacked Size

2.96 kB

Total Files

5

Last publish

Collaborators

  • types