Default
If an alpha value is not specified explicitly it is assumed to be 255, 0xFF, or 100% (fully opaque).
Examples
Some examples of valid color specifiers, and their corresponding pixel type, color value, alpha value, and default color space:
color | Pixel Type | Color Value | Alpha Value | Default Color Space |
---|---|---|---|---|
0,100,200 | RGB | 0,100,200 | 255 | IccProfileRgb |
0,100,200,200rs | RGB | 0,100,200 | 200 | IccProfileSrcRgb |
0x010203S | RGB | 1,2,3 | 255 | IccProfileSrcRgb |
a0b1c2d3R | RGB | 160,177,194 | 211 | IccProfileRgb |
100S | gray | 100% | 100% | IccProfileSrcGray |
50,75g | gray | 50% | 75% | IccProfileGray |
0X70G | gray | 44% | 44% | IccProfileGray |
0xddeegs | gray | 87% | 93% | IccProfileSrcGray |
94,11,50,33k | CMYK | 94-11-50-33% | 100% | IccProfileCmyk |
22,23,24,25,26KS | CMYK | 22-23-24-25% | 26% | IccProfileSrcCmyk |
38393A3bK | CMYK | 56-57-58-59% | 100% | IccProfileCmyk |
0x0a0b0C0d0eks | CMYK | 10-11-12-13% | 14% | IccProfileSrcCmyk |
The output color space specified with icc=
applies instead of the default color space when the pixel type of an output color corresponds to the pixel type of the output image.
recommendation-more-help