exporting video from flash for html5 video changes colors
Broadcast video codecs such as H.264 (typically) store color as YUV, not RGB. Conversion from RGB to YUV will cause a subtle color shift but also the YUV range used to represent pixel color value is compressed compared to RGB, which may also affect the hue. And finally there's the chroma subsampling, a technique used in video where a block of pixels share the same color values.

If the specific hue of your webpage BG cannot be changed then there are two broad ways to go forward:

1) Avoid a sharp interface between your video and the surrounding page by feathering the edges of your video or flash canvas.

2) A cruder, trial &amp; error solution is to apply a tint overlay over the HTML5 video canvas so that the resultant look matches the hue. This will be a subtle tint and will affect the other colors in the video as well.

Of course, you can always take a screenshot of the webpage with your current video in it, sample its color in an image processing app and make that your webpage background color.