# vtkColorTransferFunction's color spaces

**URL:** https://discourse.vtk.org/t/vtkcolortransferfunctions-color-spaces/1363
**Category:** Support
**Created:** [July 17, 2019, 9:00am UTC](https://discourse.vtk.org/t/vtkcolortransferfunctions-color-spaces/1363 "2019-07-17T09:00:18Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![embeddedmz](https://discourse.vtk.org/user_avatar/discourse.vtk.org/embeddedmz/32/12_2.png) [@embeddedmz](https://discourse.vtk.org/u/embeddedmz)
#### Post date: [July 17, 2019, 9:00am UTC](https://discourse.vtk.org/t/vtkcolortransferfunctions-color-spaces/1363/1 "2019-07-17T09:00:19Z")

</div>

Hello,

vtkColorTransferFunction has 4 color spaces : RGB, HSV, Lab (or CIELAB) and Diverging.

Can someone tell me what are exactly Lab and Diverging color spaces ?

In code’s comment :

> Diverging is a special mode where colors will pass through white when interpolating between two saturated colors.

but it isn’t clear for me.

Thanks.
