Reference

Table of Contents  ▸  List of Commands  ▸  Colors  ▸  rgb2hsl◀  rgb2hsi8    |    rgb2hsl8  ▶

rgb2hsl

No arguments

Description:

Convert color representation of selected images from RGB to HSL.

Examples of use:

• Example #1

$ gmic image.jpg rgb2hsl split c
Command: image.jpg rgb2hsl split c
Command: image.jpg rgb2hsl split c
Command: image.jpg rgb2hsl split c

• Example #2

$ gmic image.jpg rgb2hsl +split c add[-3] 100 mod[-3] 360 append[-3--1] c hsl2rgb
Command: image.jpg rgb2hsl +split c add[-3] 100 mod[-3] 360 append[-3--1] c hsl2rgb
Command: image.jpg rgb2hsl +split c add[-3] 100 mod[-3] 360 append[-3--1] c hsl2rgb