- addAlphauint addAlpha(uint color, uint alpha) 
- applies additional alpha to color 
- blendARGBuint blendARGB(uint dst, uint src, uint alpha) 
- blend two RGB pixels using alpha 
- blendAlphauint blendAlpha(uint a1, uint a2) 
- blend two alpha values 0..255 (255 is fully transparent, 0 is opaque) 
- blendGrayubyte blendGray(ubyte dst, ubyte src, uint alpha) 
- blend two RGB pixels using alpha 
- blendSubpixelvoid blendSubpixel(ubyte* dst, ubyte* src, uint alpha, int x0, SubpixelRenderingMode mode) 
- blend subpixel using alpha 
- decodeCSSColoruint decodeCSSColor(string s, uint defValue) 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- decodeHexColoruint decodeHexColor(string s, uint defValue) 
- decode color string  supported formats: #RGB, #ARGB, #RRGGBB, #AARRGGBB, rgb(r,g,b), rgba(r,g,b,a), rgba(r,g,b,a%) 
- isFullyTransparentColorbool isFullyTransparentColor(uint color) 
- returns true if color is #FFxxxxxx (color alpha is 255) 
- makeRGBAuint makeRGBA(T r, T g, T b, T a) 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- rgbToGrayubyte rgbToGray(uint color) 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- subpixelComponentIndexint subpixelComponentIndex(int x0, SubpixelRenderingMode mode) 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- transformComponentuint transformComponent(int src, int addBefore, int multiply, int addAfter) 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- transformRGBAuint transformRGBA(uint src, uint addBefore, uint multiply, uint addAfter) 
- Undocumented in source. Be warned that the author may not have intended to support it. 
This module contains declaration of useful color related operations.
In dlangui, colors are represented as 32 bit uint AARRGGBB values.
Synopsis: