| Syntax | represents |
|---|---|
| rrr,ggg,bbb | RGB as three decimal values |
| RGB#rrggbb | RGB as 6-digit hexadecimal number |
| RGB(rrr,ggg,bbb) | RGB as three decimal values |
| YUV#yyuuvv | YUV as 6-digit hexadecimal number
Note: U and V are biased by 0x80, 8080 is greyscale, 1010 is green, F0F0 is purple |
| YUV(yyy,uuu,vvv) | YUV as three decimal values
note: U and V are signed, 0,0 is greyscale, -112,-112 is green, 112,112 is purple |
| black | RGB#000000 RGB(0,0,0) YUV#108080 YUV(16,0,0) |
  | grey | RGB#808080 RGB(128,128,128) YUV#808080 YUV(128,0,0) |
  | white | RGB#FFFFFF RGB(255,255,255) YUV#EB8080 YUV(235,0,0) |
  |
| saturated red not NTSC safe | RGB#FF0000 RGB(255,0,0) YUV#515AF0 YUV(81,-38,112) |
  | saturated green not NTSC safe | RGB#00FF00 RGB(0,255,0) YUV#903622 YUV(144,-74,-94) |
  | saturated blue | RGB#0000FF RGB(0,0,255) YUV#29F06E YUV(41,112,-18) |
  |
| saturated yellow not NTSC safe | RGB#FFFF00 RGB(255,255,0) YUV#D21092 YUV(210,-112,18) |
  | saturated purple not NTSC safe | RGB#FF00FF RGB(255,0,255) YUV#6ACADE YUV(106,74,94) |
  | saturated cyan not NTSC safe | RGB#00FFFF RGB(0,255,255) YUV#A9A610 YUV(169,38,-112) |
  |
DVD-Video info home |
Copyright © 2005 - 2008 MPUCoder, all rights reserved. |