Skip to content

Instantly share code, notes, and snippets.

@nevali
Created August 12, 2012 13:11
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nevali/3331762 to your computer and use it in GitHub Desktop.
Save nevali/3331762 to your computer and use it in GitHub Desktop.
Y/Cb/Cr colour values (BT.709)
Name Y % Cb % Cr % 8-bit 10-bit 16-bit
---------------------------------------------------------------------------
black 0.00% 50.20% 50.20% 10/80/80 040/200/200 1000/8000/8000
white 100.00% 50.20% 50.21% eb/80/80 3ac/200/200 eb00/8000/8006
red100 22.15% 38.75% 100.00% 41/67/f0 102/19a/3c0 4082/665a/f000
green100 71.54% 11.65% 4.64% ad/2a/1a 2b2/0a7/068 acac/29a6/19f2
blue100 7.21% 100.00% 45.61% 20/f0/76 07f/3c0/1d7 1fca/f000/75b8
cyan100 78.75% 61.65% 0.05% bc/9a/10 2f1/266/040 bc76/99a6/1000
magenta100 29.36% 88.75% 95.77% 50/d7/e7 141/359/398 504c/d65a/e613
yellow100 93.69% 0.20% 54.80% dd/10/8b 374/040/229 dd2e/1000/8a4e
red75 16.68% 41.57% 87.96% 35/6d/d5 0d2/1b3/352 3486/6cb0/d499
green75 53.87% 21.17% 15.89% 86/3f/34 217/0fc/0cd 85f7/3efc/3329
blue75 5.43% 87.84% 46.74% 1c/d5/79 070/351/1e1 1be4/d454/7842
cyan75 59.29% 58.82% 12.44% 92/94/2c 247/24d/0ae 91da/9350/2b6b
magenta75 22.11% 79.22% 84.51% 40/c1/cd 101/304/333 406a/c104/ccdb
yellow75 70.54% 12.55% 53.66% aa/2c/88 2a9/0af/21f aa7d/2bac/87c2
grey50 50.65% 50.20% 50.20% 7f/80/80 1fb/200/200 7eeb/8000/8003
grey20 20.18% 50.20% 50.20% 3c/80/80 0f1/200/200 3c32/8000/8001
@nevali
Copy link
Author

nevali commented Aug 12, 2012

All values converted from RGB (so the percentages are indications of the YCbCr values, not the source colour values). red100 = #ff0000, grey50 = #808080, etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment