@fantasy-color/lab-to-rgb
TypeScript icon, indicating that this package has built-in type declarations

2.1.0 • Public • Published

@fantasy-color/lab-to-rgb

Transform a LAB color object to a RGB color object.

type labToRgb = (color: LAB) => RGB

Example usage:

import labToRgb from '@fantasy-color/lab-to-rgb'

labToRgb({
  luminance: 29.567572863553245,
  a: 68.29865326565671,
  b: -112.02942991288025
})
// { red: 0, green: 0, blue: 255 }

Readme

Keywords

none

Package Sidebar

Install

npm i @fantasy-color/lab-to-rgb

Weekly Downloads

13

Version

2.1.0

License

MIT

Unpacked Size

9.35 kB

Total Files

9

Last publish

Collaborators

  • ijigg
  • moria.am
  • atilaz
  • gideon.gur
  • irminakacz
  • fernando.3
  • xaviervia
  • psxcode
  • deepsweet