h6. [[ColourTrans]] h6(. » [[ColourTrans SWI Calls|SWI Calls]] h6((. » ColourTrans_ConvertRGBToHSV h2. ColourTrans_ConvertRGBToHSV h5. (SWI &40758) |_<^{width:3em}. Entry | | |<. R0|<^. Red component| |<. R1|<^. Green component| |<. R2|<^. Blue component| |_<^{width:3em}. Exit || |<^. R0 |<^. Hue (0 – 360)| |<^. R1 |<^. Saturation| |<^. R2 |<^. Value| h4. Use The purpose of this call is to convert the colour passed as RGB values to CMYK values. h4. Notes The parameters passed are fixed point 32-bit numbers. The lower 16 bits (0 – 15) are used below the decimal point, and the upper 16 bits above the decimal point. Hue values range from 0 – 360 (without any fractional element). Hue is undefined for achromatic colours. h4. See also * [[ColourTrans_ConvertHSVToRGB]]