1.2 ARGB Color

Top  Previous  Next

ARGB values are typically expressed using 8 hexadecimal digits, with each pair of the hexadecimal digits representing the sample values of the Alpha, Red, Green and Blue channel, respectively. For example, 80FFFF00 represents 50.2% opaque yellow. 80 represents a 50.2% alpha value, because it is 50.2% of 0xFF (in decimal 128 is 50.2% of 255), the first FF represents the maximum value a red sample can have; the second FF is like the previous but for green; 00 represents the minimum value a blue sample can have (effectively - no blue). Consequently red + green yields yellow.