HEX, RGB and HSL describe the same color differently
HEX is a compact hexadecimal representation of red, green and blue channels. RGB exposes those channels directly as values from 0 to 255.
HSL describes hue as an angle and saturation and lightness as percentages, which can be easier for controlled visual adjustments.