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

1.1.3 • Public • Published

Installation

npm install --save @types/hsl-to-rgb-for-reals

Summary

This package contains type definitions for hsl-to-rgb-for-reals (https://github.com/davidmarkclements/hsl_rgb_converter/).

Details

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

index.d.ts

/**
 * Convert hue, saturation and luminosity to rgb
 *
 * e.g. hslToRgb(223, 0.44, 0.56) to [93, 121, 192]
 */
declare function hslToRgb(
    hue: number,
    saturation: number,
    lightness: number,
): [red: number, green: number, blue: number];
export = hslToRgb;

Additional Details

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

Credits

These definitions were written by .

Readme

Keywords

none

Package Sidebar

Install

npm i @types/hsl-to-rgb-for-reals

Weekly Downloads

241

Version

1.1.3

License

MIT

Unpacked Size

2.98 kB

Total Files

5

Last publish

Collaborators

  • types