Utilities / Color
Color to OKLab
Convert linear RGB color to OKLab color space. This is useful for converting a color to a color that is perceptually uniform.
Inputs
| Name | Type | Description |
|---|---|---|
| Color | Color |
Outputs
| Name | Type | Description |
|---|---|---|
| OKLab | Vector |
API Reference: nodes.geometry.ColorToOKLab
LCh to OKLab
Convert LCh color to OKLab color space. This is useful for converting a color to a color that is perceptually uniform.
Inputs
| Name | Type | Description |
|---|---|---|
| L | Float |
|
| C | Float |
|
| h | Float |
Outputs
| Name | Type | Description |
|---|---|---|
| OKLab | Vector |
API Reference: nodes.geometry.LChToOKLab
OKLab Offset LCh
Offset the lightness and chroma of an OKLab color. It is first converted to LCh color space, then the lightness and chroma are offset, then converted back to OKLab color space.
Inputs
| Name | Type | Description |
|---|---|---|
| OKLab | Vector |
|
| L | Float |
|
| h | Float |
Outputs
| Name | Type | Description |
|---|---|---|
| OKLab | Vector |
API Reference: nodes.geometry.OKLabOffsetLCh
OKLab to Color
Convert OKLab color to linear RGB color.
Inputs
| Name | Type | Description |
|---|---|---|
| OKLab | Vector |
Outputs
| Name | Type | Description |
|---|---|---|
| Color | Color |
API Reference: nodes.geometry.OKLabToColor
OKLab to LCh
Convert OKLab color to LCh color space. This is useful for converting a color to a color that is perceptually uniform.
Inputs
| Name | Type | Description |
|---|---|---|
| OKLab | Vector |
Outputs
| Name | Type | Description |
|---|---|---|
| L | Float |
|
| C | Float |
|
| h | Float |
API Reference: nodes.geometry.OKLabToLCh