Table of Content
            
                
  
            
        
        
        
        The three-digit hex form typically follows the RGB (RGB) format. Expanding this form to the six-digit form is as simple as doubling each digit: 09C becomes 0099CC.
The six-digit hex form typically follows the RRGGBB (RGB) format.
The eight-digit hex from typically follows the AARRGGBB (ARGB) format.
See Stack Overflow for more informations.