Python colorsys Functions
EditRocket provides the following information on colorsys functions in the Python source code builder.
hls_to_rgb(h, l, s) - Convert the color from HLS coordinates to RGB coordinates.
hsv_to_rgb(h, s, v) - Convert the color from HSV coordinates to RGB coordinates.
rgb_to_hls(r, g, b) - Convert the color from RGB coordinates to HLS coordinates.
rgb_to_hsv(r, g, b) - Convert the color from RGB coordinates to HSV coordinates.
rgb_to_yiq(r, g, b) - Convert the color from RGB coordinates to YIQ coordinates.
yiq_to_rgb(y, i, q) - Convert the color from YIQ coordinates to RGB coordinates.