Conversion | Image Quantization Library (image-q)

### Hierarchy

- Conversion

## Index

### Properties

- _refX
- _refY
- _refZ

### Methods

- _xyz2lab_helper
- lab2rgb
- lab2xyz
- rgb2hsl
- rgb2lab
- rgb2lum
- rgb2xyz
- xyz2lab
- xyz2rgb

## Properties

### Static Private _refX

_refX: number

- Defined in color/conversion.ts:74

### Static Private _refY

_refY: number

- Defined in color/conversion.ts:75

### Static Private _refZ

_refZ: number

- Defined in color/conversion.ts:76

## Methods

### Static Private _xyz2lab_helper

- _xyz2lab_helper(value: number): number

- - Defined in color/conversion.ts:78

  #### Parameters

  - ##### value: number

  #### Returns number

### Static lab2rgb

- lab2rgb(L: number, a: number, b: number): object

- - Defined in color/conversion.ts:15

  #### Parameters

  - ##### L: number

  - ##### a: number

  - ##### b: number

  #### Returns object

  - ##### b: number

  - ##### g: number

  - ##### r: number

### Static lab2xyz

- lab2xyz(L: number, a: number, b: number): object

- - Defined in color/conversion.ts:98

  #### Parameters

  - ##### L: number

  - ##### a: number

  - ##### b: number

  #### Returns object

  - ##### x: number

  - ##### y: number

  - ##### z: number

### Static rgb2hsl

- rgb2hsl(r: number, g: number, b: number): object

- - Defined in color/conversion.ts:122

  #### Parameters

  - ##### r: number

  - ##### g: number

  - ##### b: number

  #### Returns object

  - ##### h: any

  - ##### l: number

  - ##### s: any

### Static rgb2lab

- rgb2lab(r: number, g: number, b: number): object

- - Defined in color/conversion.ts:10

  #### Parameters

  - ##### r: number

  - ##### g: number

  - ##### b: number

  #### Returns object

  - ##### L: number

  - ##### a: number

  - ##### b: number

### Static rgb2lum

- rgb2lum(r: number, g: number, b: number): number

- - Defined in color/conversion.ts:115

  #### Parameters

  - ##### r: number

  - ##### g: number

  - ##### b: number

  #### Returns number

### Static rgb2xyz

- rgb2xyz(r: number, g: number, b: number): object

- - Defined in color/conversion.ts:20

  #### Parameters

  - ##### r: number

  - ##### g: number

  - ##### b: number

  #### Returns object

  - ##### x: number

  - ##### y: number

  - ##### z: number

### Static xyz2lab

- xyz2lab(x: number, y: number, z: number): object

- - Defined in color/conversion.ts:81

  #### Parameters

  - ##### x: number

  - ##### y: number

  - ##### z: number

  #### Returns object

  - ##### L: number

  - ##### a: number

  - ##### b: number

### Static xyz2rgb

- xyz2rgb(x: number, y: number, z: number): object

- - Defined in color/conversion.ts:45

  #### Parameters

  - ##### x: number

  - ##### y: number

  - ##### z: number

  #### Returns object

  - ##### b: number

  - ##### g: number

  - ##### r: number

Generated using TypeDoc