\fBcolorx\fP(\fIcolor\fP : \fBstring\fP, \fIfmt\fP : \fBstring\fP) : \fBstring\fP
translates a color from one format to another. The \fIcolor\fP argument should be
a color in one of the recognized string representations. The \fIfmt\fP value should
-be one of "RGB", "RGBA", "HSV", "HSVA", or "CMYK".
+be one of "RGB", "RGBA", "HSV", or "HSVA".
An empty string is returned on error.
.SH "BUILT\(hyIN VARIABLES"
.PP
switch (type) {
case HSVA_DOUBLE :
- sfprintf (fp, ".03f .03f .03f",
+ sfprintf (fp, "%.03f %.03f %.03f",
color.u.HSVA[0], color.u.HSVA[1], color.u.HSVA[2]);
if (alpha)
- sfprintf (fp, " .03f", color.u.HSVA[3]);
+ sfprintf (fp, " %.03f", color.u.HSVA[3]);
break;
case RGBA_BYTE :
sfprintf (fp, "#%02x%02x%02x",