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:

colorPixel TypeColor ValueAlpha ValueDefault Color Space
0,100,200RGB0,100,200255IccProfileRgb
0,100,200,200rsRGB0,100,200200IccProfileSrcRgb
0x010203SRGB1,2,3255IccProfileSrcRgb
a0b1c2d3RRGB160,177,194211IccProfileRgb
100Sgray100%100%IccProfileSrcGray
50,75ggray50%75%IccProfileGray
0X70Ggray44%44%IccProfileGray
0xddeegsgray87%93%IccProfileSrcGray
94,11,50,33kCMYK94-11-50-33%100%IccProfileCmyk
22,23,24,25,26KSCMYK22-23-24-25%26%IccProfileSrcCmyk
38393A3bKCMYK56-57-58-59%100%IccProfileCmyk
0x0a0b0C0d0eksCMYK10-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