My favorites | Sign in
Logo
             
Search
for
Updated Aug 26, 2009 by aavindraa
Labels: Support
colors  
Customize your viewing experience by choosing your own colors!

Introduction

The YouTube video player (probably) uses the same code as the embedded YouTube player, meaning you have hidden access to the two main colors of the player controls.

Details

Note that the color is in hex format. This involves three channels of red, green and blue:

 RR GG BB

And is usually formatted as:

 0x000000  // This is white.
 0xFFFFFF  // This is black.
 0xFF0000  // This is red.
 0xFF00FF  // This is purple-ish.

Note that hex digits use the letters A-F, as well as the numbers 0-9. Each channel is represented by two hex digits.

But in the script, you don't need to put a "0x" sign, or a "#" before it. Just put the six digit hex number. E.g.:

 Color 1: 000000
 Color 2: FFFFFF

How to create hex colors

Obviously we aren't all programmers or nerds, so there are tools online to get the colors for you. Here is a good one (in Flash):

Or in JavaScript:


Sign in to add a comment
Hosted by Google Code