Showing changes from revision #3 to #4:
Added | Removed | Changed
Entry | |
---|---|
R0 | Red component |
R1 | Green component |
R2 | Blue component |
Exit | |
---|---|
R0 | Hue (0 – 360) |
R1 | Saturation |
R2 | Value |
The purpose of this call is to convert the colour passed as RGB values to CMYK values.
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.