The color format ถูกโค๊ดดังต่อไปนี้:
• Alpha value field: ความโปร่งใส
0xFF value ตรงกันกับพิกเซลทึบแสงและ 0x00 ตรงกันกับค่าโปร่งใส.
• R field สำหรับสีแดง
• G field สำหรับสีเขียว
• B field สำหรับสีน้ำเงิน
• L field: ความสว่าง
ฟิลด์นี้เป็นดัชนีชี้ไปยัง a CLUT เพื่อดึงส่วนประกอบ สาม/สี่ RGB/ARGB.
ถ้ารูปแบบเริ่มแรกเป็น direct color mode (ARGB/RGB), จากนั้นการขยายเป็น 8-bit ต่อ channel ถูกดำเนินการโดยการคัดลอก the MSBs ลงใน the LSBs. นี้ทำให้แน่ใจว่าเป็นเส้นตรงที่สมบูรณ์แบบของการแปลง.
ถ้ารูปแบบเริ่มแรกเป็น indirect color mode (L/AL), a CLUT ถูกต้องการและแต่ละ pixel format converter จะถูกสัมพันธ์กันกับ a 256 รายการ 32-bit CLUT.
ถ้า the original format ไม่ได้รวม an alpha channel เอาไว้, the alpha value จะถูกเซ็ตโดยอัตโนมัติเป็น 0xFF (ทึบแสง).
สำหรับ the specific alpha mode A4 and A8, ไม่มี color information ถูกจัดเก็บและไม่ได้ถูกดัชนีชี้. The color ที่จะถูกใช้สำหรับ the image generation ถูกคงที่และถูกกำหนดใน the DMA2D_FGCOLR สำหรับ foreground pixels และใน the DMA2D_BGCOLR register สำหรับ background pixels.
ลำดับของ the fields ใน the system memory ถูกกำหนดใน Table 36: Data order in memory.
