<｜begin▁of▁sentence｜>### Instruction:
Given an RGB color where each component (Red, Green, Blue) is a value between 0 and 1, how can you convert this color to its HSL (Hue, Saturation, Lightness) representation using the rgb_to_hsl function?
### Response:
from networkx.drawing.nx_pylab import to_pylab_rgb
from matplotlib.colors import rgb_to_hsl

# RGB color where components are in the range [0, 1]
rgb_color = (0.2, 0.4, 0.6)

# Convert the RGB color to an HSL representation
hsl_color = rgb_to_hsl(*rgb_color)

print(f'HSL representation: {hsl_color}')
<|EOT|>
